[Zodb-checkins] CVS: StandaloneZODB/Tools - timeiter.py:1.1.2.5
Barry Warsaw
barry@wooz.org
Fri, 11 Jan 2002 15:41:52 -0500
Update of /cvs-repository/StandaloneZODB/Tools
In directory cvs.zope.org:/tmp/cvs-serv14298
Modified Files:
Tag: Standby-branch
timeiter.py
Log Message:
doit(): Allow options.maxtxn (aka -m/--max) be 0. Empty databases can
be useful <wink>.
=== StandaloneZODB/Tools/timeiter.py 1.1.2.4 => 1.1.2.5 ===
continue
counter += 1
- if counter > options.maxtxn > 0:
+ if counter > options.maxtxn >= 0:
break
tid = txn.tid
if ts is None: