Control: tags 865897 + patch Control: tags 865897 + pending Dear maintainer,
I've prepared an NMU for unattended-upgrades (versioned as 0.93.1+nmu2) and uploaded it to DELAYED/0. Please feel free to tell me if I should delay it longer. Regards. -- Debian Developer - deb.li/jak | jak-linux.org - free software dev | Ubuntu Core Developer | When replying, only quote what is necessary, and write each reply directly below the part(s) it pertains to ('inline'). Thank you.
diff -Nru unattended-upgrades-0.93.1+nmu1/debian/changelog unattended-upgrades-0.93.1+nmu2/debian/changelog --- unattended-upgrades-0.93.1+nmu1/debian/changelog 2017-05-06 19:42:14.000000000 +0200 +++ unattended-upgrades-0.93.1+nmu2/debian/changelog 2017-07-20 10:51:11.000000000 +0200 @@ -1,3 +1,11 @@ +unattended-upgrades (0.93.1+nmu2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix PEP8 failures (replace except: with except Exception:) + (Closes: #865897) + + -- Julian Andres Klode <j...@debian.org> Thu, 20 Jul 2017 10:51:11 +0200 + unattended-upgrades (0.93.1+nmu1) unstable; urgency=medium * Non-maintainer upload. diff -Nru unattended-upgrades-0.93.1+nmu1/test/unattended_upgrade.py unattended-upgrades-0.93.1+nmu2/test/unattended_upgrade.py --- unattended-upgrades-0.93.1+nmu1/test/unattended_upgrade.py 2016-12-11 11:31:26.000000000 +0100 +++ unattended-upgrades-0.93.1+nmu2/test/unattended_upgrade.py 2017-07-20 10:50:40.000000000 +0200 @@ -269,13 +269,13 @@ def __enter__(self): try: apt_pkg.pkgsystem_unlock() - except: + except Exception: pass def __exit__(self, exc_type, exc_value, exc_tb): try: apt_pkg.pkgsystem_unlock() - except: + except Exception: pass diff -Nru unattended-upgrades-0.93.1+nmu1/unattended-upgrade unattended-upgrades-0.93.1+nmu2/unattended-upgrade --- unattended-upgrades-0.93.1+nmu1/unattended-upgrade 2016-12-11 11:31:26.000000000 +0100 +++ unattended-upgrades-0.93.1+nmu2/unattended-upgrade 2017-07-20 10:50:40.000000000 +0200 @@ -269,13 +269,13 @@ def __enter__(self): try: apt_pkg.pkgsystem_unlock() - except: + except Exception: pass def __exit__(self, exc_type, exc_value, exc_tb): try: apt_pkg.pkgsystem_unlock() - except: + except Exception: pass diff -Nru unattended-upgrades-0.93.1+nmu1/unattended-upgrade-shutdown unattended-upgrades-0.93.1+nmu2/unattended-upgrade-shutdown --- unattended-upgrades-0.93.1+nmu1/unattended-upgrade-shutdown 2016-12-11 11:31:26.000000000 +0100 +++ unattended-upgrades-0.93.1+nmu2/unattended-upgrade-shutdown 2017-07-20 10:50:40.000000000 +0200 @@ -39,7 +39,7 @@ try: import apt_pkg -except: +except Exception: # if there is no python-apt no unattended-upgrades can run so not # need to stop the shutdown logging.exception("importing of apt_pkg failed, exiting")