From 1655d67a017e5b572ca4669e658f8f9a6a7cbcc8 Mon Sep 17 00:00:00 2001 From: Alexander Reichle-Schmehl Date: Fri, 1 Oct 2010 09:19:46 +0000 Subject: [PATCH] Fix spelling of "IOError" so we indeed don't raise an exception --- daklib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {} -- 2.39.5