[Zope3-checkins] CVS: Zope3/src/zope/configuration - fields.py:1.13

Fred L. Drake, Jr. fred at zope.com
Mon Aug 18 16:25:29 EDT 2003


Stephan Richter writes:
 > +        # Check whether there is an explicit message is specified
 > +        default = None
 > +        if v.startswith('[]'):
 > +            v = v[3:]

Actually, I'd suggest this assignment:

          v = v[2:].lstrip()


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation



More information about the Zope3-Checkins mailing list