[Opensrf-commits] r1248 - trunk/src/python/osrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 13 19:45:09 EST 2008
Author: erickson
Date: 2008-02-13 19:15:39 -0500 (Wed, 13 Feb 2008)
New Revision: 1248
Modified:
trunk/src/python/osrf/http_translator.py
Log:
updated to fit new opensrf updates
Modified: trunk/src/python/osrf/http_translator.py
===================================================================
--- trunk/src/python/osrf/http_translator.py 2008-02-11 18:49:44 UTC (rev 1247)
+++ trunk/src/python/osrf/http_translator.py 2008-02-14 00:15:39 UTC (rev 1248)
@@ -68,7 +68,7 @@
ops = req.get_options()
conf = ops['OSRF_CONFIG']
ctxt = ops.get('OSRF_CONFIG_CONTEXT') or 'opensrf'
- osrf.system.connect(conf, ctxt)
+ osrf.system.System.connect(config_file=conf, config_context=ctxt)
ROUTER_NAME = osrf.conf.get('router_name')
OSRF_DOMAIN = osrf.conf.get('domains.domain')
@@ -137,8 +137,8 @@
pass # drop stale messages
- net_msg = NetworkMessage(recipient=self.recipient, thread=self.thread, \
- body=self.body, locale=self.locale)
+ net_msg = osrf.net.NetworkMessage(
+ recipient=self.recipient, thread=self.thread, body=self.body)
self.handle.send(net_msg)
if self.disconnect_only:
More information about the opensrf-commits
mailing list