[Opensrf-commits] r2093 - trunk/src/python/osrf (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Nov 20 10:23:59 EST 2010


Author: erickson
Date: 2010-11-20 10:23:57 -0500 (Sat, 20 Nov 2010)
New Revision: 2093

Modified:
   trunk/src/python/osrf/system.py
Log:
added network disconnect func

Modified: trunk/src/python/osrf/system.py
===================================================================
--- trunk/src/python/osrf/system.py	2010-11-19 02:42:34 UTC (rev 2092)
+++ trunk/src/python/osrf/system.py	2010-11-20 15:23:57 UTC (rev 2093)
@@ -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