Re: [Zope-dev] Very minor bugfix suggestion. Strip role names

2006-04-06 Thread Paul Winkler
+1, I've made similar mistakes, very very frustrating. On Thu, Apr 06, 2006 at 06:31:39PM +0200, Lennart Regebro wrote: > When adding new rols through the ZMI it is easy to accidentaly let > trailing or leading spaces stay in the role name, especially if you > cut and paste. Debugging that is ver

[Zope-dev] Very minor bugfix suggestion. Strip role names

2006-04-06 Thread Lennart Regebro
When adding new rols through the ZMI it is easy to accidentaly let trailing or leading spaces stay in the role name, especially if you cut and paste. Debugging that is very annoying because that leading and trailing space is not visible anywhere. So, I suggest to just add a .strip() like so (This