[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component - interfacewidget.py:1.42

Jim Fulton cvs-admin at zope.org
Fri Nov 21 12:11:35 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/component
In directory cvs.zope.org:/tmp/cvs-serv31106/src/zope/app/browser/component

Modified Files:
	interfacewidget.py 
Log Message:
Fixed a bug that caused an error if you entered a search string
without first selecting an interface.


=== Zope3/src/zope/app/browser/component/interfacewidget.py 1.41 => 1.42 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.41	Mon Nov  3 23:04:27 2003
+++ Zope3/src/zope/app/browser/component/interfacewidget.py	Fri Nov 21 12:11:04 2003
@@ -74,7 +74,7 @@
         else:
             selected = marker
         if self._data is self._data_marker:
-            value = self.request.form.get(self.name, marker)
+            value = self.request.form.get(self.name, marker) or marker
             if value is not marker:
                 try:
                     selected = self.getInputValue()




More information about the Zope3-Checkins mailing list