# HG changeset patch # User Frederic Bastien # Date 1210191445 14400 # Node ID 8b520423d4eeb26bde7b610e53b7658410d724d9 # Parent d3c72e412065a4516d8f2320d28f3b7376cee9de bugfix diff -r d3c72e412065 -r 8b520423d4ee dataset.py --- 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): """