[open-ils-commits] r9609 - branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib

svn at svn.open-ils.org svn at svn.open-ils.org
Wed May 14 22:07:24 EDT 2008


Author: erickson
Date: 2008-05-14 22:07:23 -0400 (Wed, 14 May 2008)
New Revision: 9609

Modified:
   branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/__init__.py
   branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/context.py
Log:

No longer automatically connect to the opensrf network
no longer grab the user/workstation from within the python



Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/__init__.py
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/__init__.py	2008-05-14 21:41:34 UTC (rev 9608)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/__init__.py	2008-05-15 02:07:23 UTC (rev 9609)
@@ -33,8 +33,8 @@
         self.ac_prefix.value = pylons.config['oils_added_content_prefix']
         self.skin.value = 'default' # XXX
         self.theme.value = 'default' # XXX
-        usermgr = oilsweb.lib.user.User(self)
-        usermgr.fetch_user()
+        #usermgr = oilsweb.lib.user.User(self)
+        #usermgr.fetch_user()
         #self.work_orgs = usermgr.fetch_work_orgs()
 
 Context.apply_sub_context('core', CoreContext)

Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/context.py
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/context.py	2008-05-14 21:41:34 UTC (rev 9608)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/lib/context.py	2008-05-15 02:07:23 UTC (rev 9609)
@@ -81,7 +81,7 @@
         c = _context = Context()
         c._req = req
         c._resp = resp
-        childInit()
+        #childInit()
 
         for app, ctx in _subContexts.iteritems():
             ctx = ctx()



More information about the open-ils-commits mailing list