IndexError -> KeyError .. doh.

This commit is contained in:
unknown 2009-11-04 10:46:36 -05:00
parent 98981059cd
commit ab1c37ead2

View File

@ -462,7 +462,7 @@ class Importer:
loc = self.pos_in_file[file] loc = self.pos_in_file[file]
#size = os.path.getsize(file) #size = os.path.getsize(file)
#print "loc =", loc, 'size =', size #print "loc =", loc, 'size =', size
except IndexError: except KeyError:
pass pass
# Read input file into class and close file # Read input file into class and close file
inputFile.seek(loc) inputFile.seek(loc)