[open-ils-commits] r8334 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Jan 6 15:13:47 EST 2008
Author: erickson
Date: 2008-01-06 14:49:32 -0500 (Sun, 06 Jan 2008)
New Revision: 8334
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq_admin.py
Log:
updating to work with new IDL api
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq_admin.py
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq_admin.py 2008-01-06 19:47:24 UTC (rev 8333)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq_admin.py 2008-01-06 19:49:32 UTC (rev 8334)
@@ -10,13 +10,13 @@
import oils.utils.csedit
import osrf.log
import osrf.system
-from oils.utils.idl import oilsParseIDL
+from oils.utils.idl import IDLParser
from oils.utils.csedit import oilsLoadCSEditor
def oilsConnect(config, configContext):
"""Connects to the opensrf network, parses the IDL file, and loads the CSEditor"""
osrf.system.connect(config, configContext)
- oilsParseIDL()
+ IDLParser.parse()
oilsLoadCSEditor()
log = logging.getLogger(__name__)
@@ -34,7 +34,7 @@
c.oils = oilsweb.lib.context.Context.init(request, response)
c.request = request
oilsConnect('/openils/conf/opensrf_core.xml', 'config.opensrf')
- c.idl = oils.utils.idl.oilsGetIDLParser()
+ c.idl = oils.utils.idl.IDLParser.get_parser()
c.csedit = oils.utils.csedit.CSEditor()
c.registry = osrf.net_obj.OBJECT_REGISTRY
return render('oils/%s/acq/admin.html' % c.oils.core.skin)
More information about the open-ils-commits
mailing list