mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-11 19:31:08 +00:00
autopkgtest.py: return an empty list instead of tests
While tests is an empty list at this point we should make it more obvious by returing an empty list which is what the rest of the code does.
This commit is contained in:
parent
6128a2c8b7
commit
92d611c379
@ -712,7 +712,7 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
self.logger.info('Source package %s has binaries which are all Architecture: all, and tests have been requested on %s, not running any tests for this src package',
|
||||
src,
|
||||
arch)
|
||||
return tests
|
||||
return []
|
||||
except Exception as e:
|
||||
self.logger.error('i386 useless autopkgtest check failed with: %s', e)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user