Bug#855554: unblock: debian-goodies/0.69
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock the just uploaded debian-goodies version 0.69. (Not yet
accepted due to a just started dinstall run, but should be accepted
within the next hour or so.)
It fixes a regression from the Python 3 conversion in 0.65. It only
happens with a specific option, but causes a syntax error if that
option is used, i.e. makes that option unusable.
Unfortunately I didn't notice the according bug report when preparing
the last upload before the freeze and only a second bug report for the
same issue made me aware of it.
Full debdiff:
diff -Nru debian-goodies-0.68/checkrestart debian-goodies-0.69/checkrestart
--- debian-goodies-0.68/checkrestart 2017-01-21 16:27:32.000000000 +0100
+++ debian-goodies-0.69/checkrestart 2017-02-20 02:28:58.000000000 +0100
@@ -126,7 +126,8 @@
checkroot()
for f in blacklistFiles:
- for line in file(f, "r"):
+ blacklistFile = open(f, 'r')
+ for line in blacklistFile.readlines():
if line.startswith("#"):
continue
blacklist.append(re.compile(line.strip()))
diff -Nru debian-goodies-0.68/debian/changelog debian-goodies-0.69/debian/changelog
--- debian-goodies-0.68/debian/changelog 2017-01-21 16:36:15.000000000 +0100
+++ debian-goodies-0.69/debian/changelog 2017-02-20 02:37:42.000000000 +0100
@@ -1,3 +1,11 @@
+debian-goodies (0.69) unstable; urgency=low
+
+ * checkrestart: Fix regression with -b/--blacklist from python3
+ conversion. Thanks to Andrew Rolfe and Michael Glockenstein!
+ (Closes: #835523, #854982)
+
+ -- Axel Beckert <abe@debian.org> Mon, 20 Feb 2017 02:37:42 +0100
+
debian-goodies (0.68) unstable; urgency=medium
* Fix "TypeError: a bytes-like object is required, not 'str'" when
unblock debian-goodies/0.69
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Reply to: