[gobject-introspection: 1/2] Show commands executed by distutils when being verbose.
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection: 1/2] Show commands executed by distutils when being verbose.
- Date: Mon, 18 Jun 2018 15:28:36 +0000 (UTC)
commit 21dcef65984fa240c986849b9d202ca32fa1436c
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date: Fri Feb 16 00:00:00 2018 +0000
Show commands executed by distutils when being verbose.
giscanner/scannermain.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index ffcb95cd..8b2f90da 100755
--- a/giscanner/scannermain.py
+++ b/giscanner/scannermain.py
@@ -494,6 +494,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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]