changeset 123:8b520423d4ee

bugfix
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Wed, 07 May 2008 16:17:25 -0400
parents d3c72e412065
children 9c4f522526bf
files dataset.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dataset.py	Wed May 07 16:17:06 2008 -0400
+++ b/dataset.py	Wed May 07 16:17:25 2008 -0400
@@ -355,13 +355,13 @@
         Sub-classes which implement finite-length datasets should redefine this method.
         Some methods only make sense for finite-length datasets.
         """
-        return sys.maxint
+        return maxint
 
     def is_unbounded(self):
         """
         Tests whether a dataset is unbounded (e.g. a stream).
         """
-        return len(self)==sys.maxint
+        return len(self)==maxint
 
     def hasFields(self,*fieldnames):
         """