summaryrefslogtreecommitdiff
path: root/giscanner/scannermain.py
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-06-18 15:28:08 +0000
committerChristoph Reiter <reiter.christoph@gmail.com>2018-06-18 15:28:08 +0000
commitedf5e725e14b7df0584070dd6d6418bddd56165b (patch)
tree970ec867fa84bbd987cf2d09f261084eec9d9990 /giscanner/scannermain.py
parent9654e5a2bb38c0fbd3ba343ab93643f76862c187 (diff)
parent21dcef65984fa240c986849b9d202ca32fa1436c (diff)
downloadgobject-introspection-edf5e725e14b7df0584070dd6d6418bddd56165b.tar.gz
Merge branch 'verbose-distutils' into 'master'
Show commands executed by distutils when being verbose. See merge request GNOME/gobject-introspection!13
Diffstat (limited to 'giscanner/scannermain.py')
-rwxr-xr-xgiscanner/scannermain.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index c608d04f..acb2eba0 100755
--- a/giscanner/scannermain.py
+++ b/giscanner/scannermain.py
@@ -496,6 +496,9 @@ def scanner_main(args):
parser = _get_option_parser()
(options, args) = parser.parse_args(args)
+ if options.verbose:
+ import distutils
+ distutils.log.set_threshold(distutils.log.DEBUG)
if options.passthrough_gir:
passthrough_gir(options.passthrough_gir, sys.stdout)
if options.test_codegen: