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

Steve Alexander steve@cat-box.net
Wed, 8 Jan 2003 13:56:46 -0500


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

Modified Files:
	interfacewidget.py 
Log Message:
Wrote another test. Removed another XXX. Fixed a bug along the way too.
So, these tests really are worth writing ;-)


=== Zope3/src/zope/app/browser/component/interfacewidget.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.13	Wed Jan  8 13:42:21 2003
+++ Zope3/src/zope/app/browser/component/interfacewidget.py	Wed Jan  8 13:56:12 2003
@@ -106,8 +106,6 @@
             data = self.getData(1)
         else:
             data = self._data
-        if data is None:
-            data = 'None'
         return ('<input type="hidden" name="%s" value="%s" />'
                         % (self.name, interfaceToName(data))
                         )