[Zodb-checkins] CVS: Packages/ZEO - ServerStub.py:1.3.2.1.2.2

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 27 Jun 2002 05:58:05 -0400


Update of /cvs-repository/Packages/ZEO
In directory cvs.zope.org:/tmp/cvs-serv13727

Modified Files:
      Tag: ZEO2-branch
	ServerStub.py 
Log Message:
fix bug that prevented history() returning more than a single item

=== Packages/ZEO/ServerStub.py 1.3.2.1.2.1 => 1.3.2.1.2.2 ===
 
     def history(self, oid, version, length=None):
-        if length is not None:
+        if length is None:
             return self.rpc.call('history', oid, version)
         else:
             return self.rpc.call('history', oid, version, length)