mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-19 14:31:33 +00:00
Make autopkgtest request logging more useful by moving it after adt-britney request.
This commit is contained in:
parent
6da7f96ca2
commit
41821072e2
@ -128,9 +128,6 @@ class AutoPackageTest(object):
|
|||||||
for src, ver in packages:
|
for src, ver in packages:
|
||||||
if src in self.pkglist and ver in self.pkglist[src]:
|
if src in self.pkglist and ver in self.pkglist[src]:
|
||||||
continue
|
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)
|
print("%s %s" % (src, ver), file=request_file)
|
||||||
request_file.flush()
|
request_file.flush()
|
||||||
self._adt_britney("request", "-O", request_path, request_file.name)
|
self._adt_britney("request", "-O", request_path, request_file.name)
|
||||||
@ -141,6 +138,9 @@ class AutoPackageTest(object):
|
|||||||
# in dry-run mode.
|
# in dry-run mode.
|
||||||
src = linebits.pop(0)
|
src = linebits.pop(0)
|
||||||
ver = 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:
|
try:
|
||||||
status = linebits.pop(0).upper()
|
status = linebits.pop(0).upper()
|
||||||
while True:
|
while True:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user