Fixed exception catch, Fixes Issue #5.

This commit is contained in:
Kenneth Reitz
2010-09-13 16:50:08 -04:00
parent a0509126e0
commit ddf4b441b0
+1 -1
View File
@@ -118,7 +118,7 @@ class Dataset(object):
"""Returns the width of the Dataset."""
try:
return len(self._data[0])
except KeyError, why:
except IndexError, why:
return 0
@property