X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Futils.py;h=1756f58fa2d27132a3675a95716ab4404cf9a898;hb=1655d67a017e5b572ca4669e658f8f9a6a7cbcc8;hp=7ed4089a4dd2610a09a7c5f7a3852eda987b5456;hpb=0728f1b55afc80016fe27fada8dc78e635d26c60;p=dak.git 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 = {}