Log message for revision 67077:
  A branch to replace use Zope3 trabersal as main traversal.
  

Changed:
  A   Zope/branches/easter-sprint_traversal-refactor/
  U   
Zope/branches/easter-sprint_traversal-refactor/lib/python/AccessControl/Role.py

-=-
Copied: Zope/branches/easter-sprint_traversal-refactor (from rev 67076, 
Zope/trunk)

Modified: 
Zope/branches/easter-sprint_traversal-refactor/lib/python/AccessControl/Role.py
===================================================================
--- Zope/trunk/lib/python/AccessControl/Role.py 2006-04-18 10:22:53 UTC (rev 
67076)
+++ 
Zope/branches/easter-sprint_traversal-refactor/lib/python/AccessControl/Role.py 
    2006-04-18 16:10:45 UTC (rev 67077)
@@ -474,7 +474,7 @@
 
         if submit=='Add Role':
             role=reqattr(REQUEST, 'role')
-            return self._addRole(role, REQUEST)
+            return self._addRole(role.strip(), REQUEST)
 
         if submit=='Delete Role':
             roles=reqattr(REQUEST, 'roles')

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

Reply via email to