From 9fb776f4c05a1da76686d89c6466e4edb973153f Mon Sep 17 00:00:00 2001 From: Celso Providelo Date: Thu, 5 Feb 2015 14:13:51 -0500 Subject: [PATCH] boottest-britney debug options respects BOOTTEST_DEBUG configuration option. --- boottest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boottest.py b/boottest.py index 44f5b5f..4d3c3b4 100644 --- a/boottest.py +++ b/boottest.py @@ -178,10 +178,12 @@ class BootTest(object): return '-' command = [ self.script_path, - "-dPU", "-c", self.rc_path, "-r", self.series, + "-PU", ] + if self.debug: + command.append("-d") command.extend(args) return subprocess.check_output(command).strip()