[Opensrf-commits] r2096 - branches/rel_2_0/src/python/osrf (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Nov 20 10:28:59 EST 2010
Author: erickson
Date: 2010-11-20 10:28:57 -0500 (Sat, 20 Nov 2010)
New Revision: 2096
Modified:
branches/rel_2_0/src/python/osrf/system.py
Log:
added network disconnect func
Modified: branches/rel_2_0/src/python/osrf/system.py
===================================================================
--- branches/rel_2_0/src/python/osrf/system.py 2010-11-20 15:25:36 UTC (rev 2095)
+++ branches/rel_2_0/src/python/osrf/system.py 2010-11-20 15:28:57 UTC (rev 2096)
@@ -62,6 +62,10 @@
return network
+ @staticmethod
+ def net_disconnect():
+ network = osrf.net.get_network_handle()
+ network.disconnect()
@staticmethod
def connect(**kwargs):
More information about the opensrf-commits
mailing list