Log message for revision 78430:
  Use canonical form of aq_acquire (function instead of method)
  

Changed:
  U   Zope/branches/philikon-aq/lib/python/AccessControl/ImplPython.py
  U   Zope/branches/philikon-aq/lib/python/AccessControl/Implementation.py

-=-
Modified: Zope/branches/philikon-aq/lib/python/AccessControl/ImplPython.py
===================================================================
--- Zope/branches/philikon-aq/lib/python/AccessControl/ImplPython.py    
2007-07-28 15:03:08 UTC (rev 78429)
+++ Zope/branches/philikon-aq/lib/python/AccessControl/ImplPython.py    
2007-07-28 15:52:13 UTC (rev 78430)
@@ -293,7 +293,7 @@
                         raise Unauthorized(name, value)
                 else:
                     # Try to acquire roles
-                    try: roles = container.aq_acquire('__roles__')
+                    try: roles = aq_acquire(container, '__roles__')
                     except AttributeError:
                         if containerbase is not accessedbase:
                             if self._verbose:

Modified: Zope/branches/philikon-aq/lib/python/AccessControl/Implementation.py
===================================================================
--- Zope/branches/philikon-aq/lib/python/AccessControl/Implementation.py        
2007-07-28 15:03:08 UTC (rev 78429)
+++ Zope/branches/philikon-aq/lib/python/AccessControl/Implementation.py        
2007-07-28 15:52:13 UTC (rev 78430)
@@ -95,7 +95,7 @@
 
 
 # start with the default, mostly because we need something for the tests
-setImplementation("C")
+setImplementation("PYTHON")
 
 # allow the implementation to change from the default
 _implementation_set = 0

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to