[Zope-Checkins] SVN: Zope/branches/easter-sprint_traversal-refactor/ A branch to replace use Zope3 trabersal as main traversal.

Lennart Regebro regebro at gmail.com
Tue Apr 18 12:10:46 EDT 2006


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')



More information about the Zope-Checkins mailing list