* 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: Joerg Jaspert <joerg@debian.org>
# 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
################################################################################
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 = {}