[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py using
startswith()
Andreas Jung
andreas at andreas-jung.com
Tue Feb 28 12:17:12 EST 2006
Log message for revision 65598:
using startswith()
Changed:
U Zope/trunk/lib/python/OFS/Traversable.py
-=-
Modified: Zope/trunk/lib/python/OFS/Traversable.py
===================================================================
--- Zope/trunk/lib/python/OFS/Traversable.py 2006-02-28 16:59:49 UTC (rev 65597)
+++ Zope/trunk/lib/python/OFS/Traversable.py 2006-02-28 17:17:12 UTC (rev 65598)
@@ -173,7 +173,7 @@
name = path_pop()
__traceback_info__ = path, name
- if name[0] == '_':
+ if name.startswith('_'):
# Never allowed in a URL.
raise NotFound, name
More information about the Zope-Checkins
mailing list