[Zodb-checkins] CVS: ZODB3/ZEO - StorageServer.py:1.67

Guido van Rossum guido@python.org
Thu, 19 Sep 2002 09:25:29 -0400


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv3446

Modified Files:
	StorageServer.py 
Log Message:
pack()'s 'wait' argument is a boolean, not an object, so test it using
"if wait" rather than "if wait is not None".  Also change the default
to 0.


=== ZODB3/ZEO/StorageServer.py 1.66 => 1.67 ===
--- ZODB3/ZEO/StorageServer.py:1.66	Tue Sep 17 15:12:01 2002
+++ ZODB3/ZEO/StorageServer.py	Thu Sep 19 09:25:28 2002
@@ -249,8 +249,8 @@
     def endZeoVerify(self):
         self.client.endVerify()
 
-    def pack(self, time, wait=None):
-        if wait is not None:
+    def pack(self, time, wait=0):
+        if wait:
             return run_in_thread(self.pack_impl, time)
         else:
             # If the client isn't waiting for a reply, start a thread