[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Zope2/App/startup.py Fix missing import :-S

Chris Withers chris at simplistix.co.uk
Wed Feb 8 05:51:25 EST 2006


Log message for revision 41574:
  Fix missing import :-S

Changed:
  U   Zope/branches/Zope-2_8-branch/lib/python/Zope2/App/startup.py

-=-
Modified: Zope/branches/Zope-2_8-branch/lib/python/Zope2/App/startup.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/Zope2/App/startup.py	2006-02-07 15:29:16 UTC (rev 41573)
+++ Zope/branches/Zope-2_8-branch/lib/python/Zope2/App/startup.py	2006-02-08 10:51:24 UTC (rev 41574)
@@ -280,9 +280,10 @@
             except AttributeError:
                 # Most likely some product forgot to call __of__()
                 # on the user object.
-                LOG('AccessControl', WARNING,
-                    'A user object of type %s has no aq_parent.'
-                    % str(type(auth_user)))
+                ac_logger.warning(
+                    'A user object of type %s has no aq_parent.',
+                    type(auth_user)
+                    )
                 auth_path = request_get('AUTHENTICATION_PATH')
             else:
                 auth_path = '/'.join(auth_folder.getPhysicalPath()[1:-1])



More information about the Zope-Checkins mailing list