mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-18 14:01:33 +00:00
bdmurray-linting
This commit is contained in:
parent
794b14b316
commit
383887a8e3
@ -1049,10 +1049,10 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# 20200101_000000 is 15 chars long
|
# 20200101_000000 is 15 chars long
|
||||||
seen = round(calendar.timegm(time.strptime(run_id[0:15], '%Y%m%d_%H%M%S')))
|
seen = round(calendar.timegm(time.strptime(run_id[:15], '%Y%m%d_%H%M%S')))
|
||||||
|
|
||||||
# allow some skipped tests, but nothing else
|
# allow some skipped tests, but nothing else
|
||||||
if exitcode in [0, 2]:
|
if exitcode in (0, 2):
|
||||||
result = Result.PASS
|
result = Result.PASS
|
||||||
elif exitcode == 8:
|
elif exitcode == 8:
|
||||||
result = Result.NEUTRAL
|
result = Result.NEUTRAL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user