[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Fix spelling of "IOError" so we indeed don't raise an exception



---
 daklib/utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/utils.py b/daklib/utils.py
index 7ed4089..1756f58 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 = {}
-- 
1.5.6.5



Reply to: