Sort out a mix of tabs and spaces in system.py
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 19 Mar 2011 05:34:22 +0000 (05:34 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 19 Mar 2011 05:34:22 +0000 (05:34 +0000)
Also restructure the docstrings slightly while we're there.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19821 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/python/oils/system.py

index 17ae11d..132df7c 100644 (file)
@@ -19,20 +19,26 @@ from oils.utils.idl import IDLParser
 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()