mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-02 13:51:12 +00:00
fix syntax error
This commit is contained in:
parent
25eb52aa33
commit
62aa68142d
@ -182,7 +182,7 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
break
|
||||
f_out.write(data)
|
||||
content_length = f.getheader('content-length')
|
||||
if http_code and content_length and os.path.getsize(new_file) != content_length):
|
||||
if http_code and content_length and os.path.getsize(new_file) != content_length:
|
||||
self.logger.info('Short read downloading autopkgtest results')
|
||||
os.unlink(new_file)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user