[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component - interfacewidget.py:1.7
Steve Alexander
steve@cat-box.net
Tue, 7 Jan 2003 10:43:56 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/component
In directory cvs.zope.org:/tmp/cvs-serv2466/src/zope/app/browser/component
Modified Files:
interfacewidget.py
Log Message:
Corrected / clarified comment.
=== Zope3/src/zope/app/browser/component/interfacewidget.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.6 Mon Jan 6 14:09:55 2003
+++ Zope3/src/zope/app/browser/component/interfacewidget.py Tue Jan 7 10:43:48 2003
@@ -198,7 +198,8 @@
# If a search term is entered, that interface selection remains.
# If an interface is selected, that interface selection remains.
# Remove all others.
- # Add one empty one at the end.
+ # Make sure there is at least one empty selection.
+ # Make sure there are at least two selections in total.
selections = {} # index:[search, value]
for k,v in form.iteritems():