From b9a7c0cf39e31cc1954399ca8d2339e0b2b7ce20 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 7 Dec 2016 00:24:17 +0530 Subject: 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. --- mesonbuild/scripts/gtkdochelper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesonbuild/scripts/gtkdochelper.py') 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() -- cgit v1.1