[open-ils-commits] r19821 - trunk/Open-ILS/src/python/oils (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Mar 19 01:34:26 EDT 2011


Author: dbs
Date: 2011-03-19 01:34:22 -0400 (Sat, 19 Mar 2011)
New Revision: 19821

Modified:
   trunk/Open-ILS/src/python/oils/system.py
Log:
Sort out a mix of tabs and spaces in system.py

Also restructure the docstrings slightly while we're there.


Modified: trunk/Open-ILS/src/python/oils/system.py
===================================================================
--- trunk/Open-ILS/src/python/oils/system.py	2011-03-19 05:33:34 UTC (rev 19820)
+++ trunk/Open-ILS/src/python/oils/system.py	2011-03-19 05:34:22 UTC (rev 19821)
@@ -19,20 +19,26 @@
 from oils.utils.csedit import oilsLoadCSEditor
 
 class System(object):
+
     @staticmethod
     def connect(**kwargs):
-	    """Connects to the opensrf network,  parses the IDL file, and loads the CSEditor"""
-	    osrf.system.System.connect(**kwargs)
-	    IDLParser.parse()
-	    oilsLoadCSEditor()
+        """
+        Connects to the OpenSRF network, parses the IDL, and loads the CSEditor.
+        """
 
+        osrf.system.System.connect(**kwargs)
+        IDLParser.parse()
+        oilsLoadCSEditor()
+
     @staticmethod
     def remote_connect(**kwargs):
-	    """
-            Connects to the opensrf network,  parses the IDL file, and loads the CSEditor.
-            This version of connect does not talk to opensrf.settings, which means it 
-            also does not connect to the opensrf cache.
         """
-	    osrf.system.System.net_connect(**kwargs)
-	    IDLParser.parse()
-	    oilsLoadCSEditor()
+        Connects to the OpenSRF network, parses the IDL, and loads the CSEditor.
+
+        This version of connect does not talk to opensrf.settings, which means
+        it also does not connect to the OpenSRF cache.
+        """
+
+        osrf.system.System.net_connect(**kwargs)
+        IDLParser.parse()
+        oilsLoadCSEditor()



More information about the open-ils-commits mailing list