[Opensrf-commits] r1719 - trunk/src/python/osrf (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jun 11 08:49:44 EDT 2009
Author: erickson
Date: 2009-06-11 08:49:43 -0400 (Thu, 11 Jun 2009)
New Revision: 1719
Modified:
trunk/src/python/osrf/server.py
trunk/src/python/osrf/ses.py
Log:
call cleanup instead of running the death callback directory when server session expires
Modified: trunk/src/python/osrf/server.py
===================================================================
--- trunk/src/python/osrf/server.py 2009-06-11 03:21:39 UTC (rev 1718)
+++ trunk/src/python/osrf/server.py 2009-06-11 12:49:43 UTC (rev 1719)
@@ -337,7 +337,7 @@
break
- session.run_callback('death')
+ session.cleanup()
return
def send_status(self):
Modified: trunk/src/python/osrf/ses.py
===================================================================
--- trunk/src/python/osrf/ses.py 2009-06-11 03:21:39 UTC (rev 1718)
+++ trunk/src/python/osrf/ses.py 2009-06-11 12:49:43 UTC (rev 1719)
@@ -373,7 +373,7 @@
def cleanup(self):
Session.cleanup(self)
- self.run_callbacks('death')
+ self.run_callback('death')
class ServerRequest(Request):
More information about the opensrf-commits
mailing list