]> err.no Git - dak/commitdiff
Fix spelling of "IOError" so we indeed don't raise an exception
authorAlexander Reichle-Schmehl <alexander@schmehl.info>
Fri, 1 Oct 2010 09:19:46 +0000 (09:19 +0000)
committerAlexander Reichle-Schmehl <alexander@schmehl.info>
Fri, 1 Oct 2010 09:19:46 +0000 (09:19 +0000)
daklib/utils.py

index 7ed4089a4dd2610a09a7c5f7a3852eda987b5456..1756f58fa2d27132a3675a95716ab4404cf9a898 100755 (executable)
@@ -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 = {}