From 820c073f48835c9fe9e3f6d6e71db5a7653959f5 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 15 May 2008 02:07:23 +0000 Subject: [PATCH] No longer automatically connect to the opensrf network no longer grab the user/workstation from within the python git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@9609 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/oilsweb/oilsweb/lib/__init__.py | 4 ++-- Open-ILS/web/oilsweb/oilsweb/lib/context.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/oilsweb/oilsweb/lib/__init__.py b/Open-ILS/web/oilsweb/oilsweb/lib/__init__.py index 6816481cf8..b2b8fd27b1 100644 --- a/Open-ILS/web/oilsweb/oilsweb/lib/__init__.py +++ b/Open-ILS/web/oilsweb/oilsweb/lib/__init__.py @@ -33,8 +33,8 @@ class CoreContext(SubContext): 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) diff --git a/Open-ILS/web/oilsweb/oilsweb/lib/context.py b/Open-ILS/web/oilsweb/oilsweb/lib/context.py index 6e91511088..bcc2f360de 100644 --- a/Open-ILS/web/oilsweb/oilsweb/lib/context.py +++ b/Open-ILS/web/oilsweb/oilsweb/lib/context.py @@ -81,7 +81,7 @@ class Context(object): c = _context = Context() c._req = req c._resp = resp - childInit() + #childInit() for app, ctx in _subContexts.iteritems(): ctx = ctx() -- 2.11.0