[Zope-Checkins] SVN: Zope/trunk/lib/python/Zope2/App/startup.py Fix missing import :-S

Chris Withers chris at simplistix.co.uk
Wed Feb 8 05:55:20 EST 2006


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

Changed:
  U   Zope/trunk/lib/python/Zope2/App/startup.py

-=-
Modified: Zope/trunk/lib/python/Zope2/App/startup.py
===================================================================
--- Zope/trunk/lib/python/Zope2/App/startup.py	2006-02-08 10:53:48 UTC (rev 41575)
+++ Zope/trunk/lib/python/Zope2/App/startup.py	2006-02-08 10:55:20 UTC (rev 41576)
@@ -285,9 +285,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