[Zodb-checkins] CVS: StandaloneZODB/ZEO - StorageServer.py:1.34.2.7

Jeremy Hylton jeremy@zope.com
Thu, 28 Mar 2002 18:50:48 -0500


Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv28675

Modified Files:
      Tag: zeo-1_0-debug-branch
	StorageServer.py 
Log Message:
Fix subtle bug in new status() method.

It must "return _noreturn" because the client calls it with
sendMessage().  Otherwise, the server will send a return value for
status() and kill the client with a "release unlocked lock" error.


=== StandaloneZODB/ZEO/StorageServer.py 1.34.2.6 => 1.34.2.7 ===
                 lines.append("\t" + c.stats())
         log.info(string.join(lines, "\n"))
+        return _noreturn
 
 storage_methods={}
 for n in (