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

Chris Withers chris at simplistix.co.uk
Wed Feb 8 05:53:48 EST 2006


Log message for revision 41575:
  Fix missing import.

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

-=-
Modified: Zope/branches/2.9/lib/python/Zope2/App/startup.py
===================================================================
--- Zope/branches/2.9/lib/python/Zope2/App/startup.py	2006-02-08 10:51:24 UTC (rev 41574)
+++ Zope/branches/2.9/lib/python/Zope2/App/startup.py	2006-02-08 10:53:48 UTC (rev 41575)
@@ -287,9 +287,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