diff options
Diffstat (limited to 'tools/g-ir-tool-template.in')
-rw-r--r-- | tools/g-ir-tool-template.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/g-ir-tool-template.in b/tools/g-ir-tool-template.in index f80730ec..edc68a4c 100644 --- a/tools/g-ir-tool-template.in +++ b/tools/g-ir-tool-template.in @@ -31,9 +31,9 @@ if sys.version_info.major < 3: else: import builtins -debug = os.getenv('GI_SCANNER_DEBUG', '').split(',') +debug = os.getenv('GI_SCANNER_DEBUG') if debug: - if 'pydevd' in debug: + if 'pydevd' in debug.split(','): # http://pydev.org/manual_adv_remote_debugger.html pydevdpath = os.getenv('PYDEVDPATH', None) if pydevdpath is not None and os.path.isdir(pydevdpath): |