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/gettext.py | |
| parent | 7b8f41ce31c76bb4b6e86b2583c464a438ac4641 (diff) | |
| download | meson-b9a7c0cf39e31cc1954399ca8d2339e0b2b7ce20.tar.gz | |
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/gettext.py')
| -rw-r--r-- | mesonbuild/scripts/gettext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/gettext.py b/mesonbuild/scripts/gettext.py index be2f94bd9..8baf32379 100644 --- a/mesonbuild/scripts/gettext.py +++ b/mesonbuild/scripts/gettext.py @@ -16,7 +16,7 @@ import os import shutil import argparse import subprocess -from mesonbuild.scripts import destdir_join +from . import destdir_join parser = argparse.ArgumentParser() parser.add_argument('command') |
