From: Alexander Reichle-Schmehl Date: Fri, 1 Oct 2010 09:19:46 +0000 (+0000) Subject: Fix spelling of "IOError" so we indeed don't raise an exception X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1655d67a017e5b572ca4669e658f8f9a6a7cbcc8;p=dak Fix spelling of "IOError" so we indeed don't raise an exception --- diff --git a/daklib/utils.py b/daklib/utils.py index 7ed4089a..1756f58f 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -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 = {}