diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-07 00:24:17 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-07 00:24:17 +0530 |
commit | b9a7c0cf39e31cc1954399ca8d2339e0b2b7ce20 (patch) | |
tree | 292ede074f42d2c88051b02c4e87a75253109d38 /mesonbuild/scripts/gtkdochelper.py | |
parent | 7b8f41ce31c76bb4b6e86b2583c464a438ac4641 (diff) | |
download | meson-b9a7c0cf39e31cc1954399ca8d2339e0b2b7ce20.zip meson-b9a7c0cf39e31cc1954399ca8d2339e0b2b7ce20.tar.gz meson-b9a7c0cf39e31cc1954399ca8d2339e0b2b7ce20.tar.bz2 |
misc: Use relative imports everywhere
Using 'mesonbuild' as the module can cause it to use the
system-installed module and can also break if we rename the directory,
so avoid that by always using relative imports.
Diffstat (limited to 'mesonbuild/scripts/gtkdochelper.py')
-rwxr-xr-x | mesonbuild/scripts/gtkdochelper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/scripts/gtkdochelper.py b/mesonbuild/scripts/gtkdochelper.py index e34b541..41a4efe 100755 --- a/mesonbuild/scripts/gtkdochelper.py +++ b/mesonbuild/scripts/gtkdochelper.py @@ -17,8 +17,8 @@ import sys, os import subprocess import shutil import argparse -from mesonbuild.mesonlib import MesonException -from mesonbuild.scripts import destdir_join +from ..mesonlib import MesonException +from . import destdir_join parser = argparse.ArgumentParser() |