From 41821072e24d99f9cf828768a1698e0baa2422fa Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 17 Jun 2013 17:57:44 +0100 Subject: [PATCH] Make autopkgtest request logging more useful by moving it after adt-britney request. --- autopkgtest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autopkgtest.py b/autopkgtest.py index 41aba45..4062d69 100644 --- a/autopkgtest.py +++ b/autopkgtest.py @@ -128,9 +128,6 @@ class AutoPackageTest(object): for src, ver in packages: if src in self.pkglist and ver in self.pkglist[src]: continue - if self.britney.options.verbose: - print("I: [%s] - Requesting autopkgtest for %s_%s" % - (time.asctime(), src, ver)) print("%s %s" % (src, ver), file=request_file) request_file.flush() self._adt_britney("request", "-O", request_path, request_file.name) @@ -141,6 +138,9 @@ class AutoPackageTest(object): # in dry-run mode. src = linebits.pop(0) ver = linebits.pop(0) + if self.britney.options.verbose: + print("I: [%s] - Requested autopkgtest for %s_%s" % + (time.asctime(), src, ver)) try: status = linebits.pop(0).upper() while True: