diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-06-18 15:28:08 +0000 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-06-18 15:28:08 +0000 |
commit | edf5e725e14b7df0584070dd6d6418bddd56165b (patch) | |
tree | 970ec867fa84bbd987cf2d09f261084eec9d9990 /giscanner/scannermain.py | |
parent | 9654e5a2bb38c0fbd3ba343ab93643f76862c187 (diff) | |
parent | 21dcef65984fa240c986849b9d202ca32fa1436c (diff) | |
download | gobject-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-x | giscanner/scannermain.py | 3 |
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: |