提交 1655d67a 编写于 作者: A Alexander Reichle-Schmehl

Fix spelling of "IOError" so we indeed don't raise an exception

上级 e60e5025
......@@ -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.
先完成此消息的编辑!
想要评论请 注册