提交 e394b219 编写于 作者: J Joerg Jaspert

Merge remote branch 'tolimar/rm-close-bugs' into merge

* tolimar/rm-close-bugs:
  make wnpp file world readable and do so before moving it
  Fix spelling of "IOError" so we indeed don't raise an exception
  Make that file readable by ftpteam
Signed-off-by: NJoerg Jaspert <joerg@debian.org>
......@@ -20,6 +20,7 @@ trap cleanup SIGHUP SIGINT SIGPIPE SIGTERM EXIT ERR
# get the latest list of wnpp bugs and their source packages
wget -q -O${TMPFILE} http://qa.debian.org/data/bts/wnpp_rm
chmod go+r ${TMPFILE}
mv ${TMPFILE} /srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm
################################################################################
......@@ -1553,7 +1553,7 @@ def parse_wnpp_bug_file(file = "/srv/ftp-master.debian.org/scripts/masterfiles/w
try:
f = open(file)
lines = f.readlines()
except IOerror, e:
except IOError, e:
print "Warning: Couldn't open %s; don't know about WNPP bugs, so won't close any." % file
lines = []
wnpp = {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册