[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - connection.py:1.6
Guido van Rossum
guido@python.org
Thu, 24 Apr 2003 11:00:44 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv31759
Modified Files:
connection.py
Log Message:
Disdallow empty names. Somehow, magically, names are now also not
editable in the edit form. Woo hoo! (XXX The problem with the
permission field remains. :-( )
=== Zope3/src/zope/app/interfaces/services/connection.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/interfaces/services/connection.py:1.5 Thu Apr 24 10:36:54 2003
+++ Zope3/src/zope/app/interfaces/services/connection.py Thu Apr 24 11:00:43 2003
@@ -35,7 +35,7 @@
description=u"The name that is registered",
readonly=True,
required=True,
- # XXX And yet, an empty name is accepted???
+ min_length=1,
)
componentPath = ComponentPath(