From 149f791e1cd3d85c95a5ad6782d153ce4c4633f5 Mon Sep 17 00:00:00 2001 From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Sat, 19 Mar 2011 05:34:22 +0000 Subject: [PATCH] Sort out a mix of tabs and spaces in system.py 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 | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/Open-ILS/src/python/oils/system.py b/Open-ILS/src/python/oils/system.py index 17ae11d7f7..132df7c7c3 100644 --- a/Open-ILS/src/python/oils/system.py +++ b/Open-ILS/src/python/oils/system.py @@ -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() -- 2.11.0