Commit 98cbc347 authored by Ben Hutchings's avatar Ben Hutchings

debian/bin: Fix Python static checker regressions (Closes: #928618)

parent 5ece558b
......@@ -136,7 +136,7 @@ class Main(object):
try:
f_in = urlopen(u)
except HTTPError as e:
except HTTPError:
if i == len(self.urls) - 1:
# No more URLs to try
raise
......
......@@ -300,12 +300,12 @@ linux-signed-@arch@ (@signedsourceversion@) @distribution@; urgency=@urgency@
if name.endswith('.ko'):
package_modules.append(
'%s/%s' %
(root[(len(package_dir) + 1):], name))
(root[(len(package_dir) + 1):], name))
package_modules.sort()
for module in package_modules:
package_files.append(
{'sig_type': 'linux-module',
'file': module })
'file': module})
package_certs = [get_cert_fingerprint(cert, 'sha256')
for cert in get_certs(cert_file_name)]
assert len(package_certs) >= 1
......
linux (4.19.37-2) UNRELEASED; urgency=medium
* debian/bin: Fix Python static checker regressions (Closes: #928618)
-- Ben Hutchings <ben@decadent.org.uk> Tue, 07 May 2019 21:01:46 +0100
linux (4.19.37-1) unstable; urgency=medium
* New upstream stable update:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment