mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-31 04:11:29 +00:00
autopkgtest: Make pycodestyle clean (--ignore=E501,W504)
This commit is contained in:
parent
62ca3b16b9
commit
f8bfbfe164
@ -243,7 +243,6 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
# render HTML line for testsrc entry
|
# render HTML line for testsrc entry
|
||||||
excuse.addhtml("autopkgtest for %s: %s" % (testname, ', '.join(html_archmsg)))
|
excuse.addhtml("autopkgtest for %s: %s" % (testname, ', '.join(html_archmsg)))
|
||||||
|
|
||||||
|
|
||||||
if verdict != PolicyVerdict.PASS:
|
if verdict != PolicyVerdict.PASS:
|
||||||
# check for force-skiptest hint
|
# check for force-skiptest hint
|
||||||
hints = self.britney.hints.search('force-skiptest', package=source_name, version=source_data_srcdist.version)
|
hints = self.britney.hints.search('force-skiptest', package=source_name, version=source_data_srcdist.version)
|
||||||
@ -310,7 +309,7 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
# serves no purpose. Just check some key packages which actually use
|
# serves no purpose. Just check some key packages which actually use
|
||||||
# gcc during the test, and doxygen as an example for a libgcc user.
|
# gcc during the test, and doxygen as an example for a libgcc user.
|
||||||
if src.startswith('gcc-'):
|
if src.startswith('gcc-'):
|
||||||
if re.match('gcc-\d$', src):
|
if re.match(r'gcc-\d$', src):
|
||||||
# add gcc's own tests, if it has any
|
# add gcc's own tests, if it has any
|
||||||
srcinfo = self.britney.sources['unstable'][src]
|
srcinfo = self.britney.sources['unstable'][src]
|
||||||
if 'autopkgtest' in srcinfo.testsuite:
|
if 'autopkgtest' in srcinfo.testsuite:
|
||||||
@ -742,4 +741,3 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user