summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-05-28 22:09:43 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-29 16:24:59 +0200
commit39ba6b7ee28c4b72e776b843f6fd5aefbef97960 (patch)
treeeadddec14bf60bef692ca9e77f9e339142379286 /bin
parent43829245de41c8a2db8042b749d824be550d754c (diff)
downloadjenkins.debian.net-39ba6b7ee28c4b72e776b843f6fd5aefbef97960.tar.xz
reproducible: common.py: set DEBUG=True when debug is active
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index cc7789b6..bce5aca0 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -64,6 +64,7 @@ group.add_argument("-q", "--quiet", action="store_true")
args, unknown_args = parser.parse_known_args()
log_level = logging.INFO
if args.debug or DEBUG:
+ DEBUG = True
log_level = logging.DEBUG
if args.quiet or QUIET:
log_level = logging.ERROR