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 <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
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.