From 2fae35660282044e8462cde5b8152ff3d24f77e3 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 12 Oct 2012 16:57:15 -0400 Subject: [PATCH] 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 --- src/python/srfsh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.43.2