From: Bill Erickson Date: Fri, 12 Oct 2012 20:57:15 +0000 (-0400) Subject: LP#1066131: srfsh.py should not require opensrf.settings X-Git-Tag: osrf_rel_2_3_0-beta~5 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2fae35660282044e8462cde5b8152ff3d24f77e3;p=OpenSRF.git LP#1066131: srfsh.py should not require opensrf.settings Update srfsh.py to connect to the opensrf network without automatically reading the opensrf.setting server data. This allows srfsh.py to run a non-private network. Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- diff --git a/src/python/srfsh.py b/src/python/srfsh.py index 5dfc8ee..a8d65a0 100755 --- a/src/python/srfsh.py +++ b/src/python/srfsh.py @@ -412,7 +412,7 @@ class Srfsh(object): osrf.ses.Session.ingress('srfsh') file = os.path.join(self.get_var('HOME'), ".srfsh.xml") - osrf.system.System.connect(config_file=file, config_context='srfsh') + osrf.system.System.net_connect(config_file=file, config_context='srfsh') def add_command(self, **kwargs): ''' Adds a new command to the supported srfsh commands.