[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component -
interfacewidget.py:1.41
Jeremy Hylton
cvs-admin at zope.org
Mon Nov 3 23:05:01 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/component
In directory cvs.zope.org:/tmp/cvs-serv28992/src/zope/app/browser/component
Modified Files:
interfacewidget.py
Log Message:
Fix various import issues.
Some names where from imported twice.
Other imports were unused.
Often imports were in partly random order, making them harder to read.
=== Zope3/src/zope/app/browser/component/interfacewidget.py 1.40 => 1.41 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.40 Wed Aug 20 14:21:03 2003
+++ Zope3/src/zope/app/browser/component/interfacewidget.py Mon Nov 3 23:04:27 2003
@@ -16,22 +16,21 @@
$Id$
"""
from zope.interface import Interface, implements
+from zope.app.browser.form.widget import BrowserWidget
+from zope.app.i18n import ZopeMessageIDFactory as _
from zope.app.interfaces.browser.form import IBrowserWidget
-from zope.app.interfaces.form import WidgetInputError, ConversionError
-from zope.publisher.browser import BrowserView
-from zope.component import getService
+from zope.app.interfaces.form \
+ import WidgetInputError, ConversionError, MissingInputError
+from zope.app.introspector import nameToInterface, interfaceToName
from zope.app.services.servicenames import Interfaces
+from zope.component import getService
from zope.component.exceptions import ComponentLookupError
+from zope.publisher.browser import BrowserView
from xml.sax.saxutils import quoteattr
-from zope.app.browser.form.widget import BrowserWidget
-from zope.app.i18n import ZopeMessageIDFactory as _
-from zope.app.introspector import nameToInterface, interfaceToName
-from zope.app.interfaces.form import WidgetInputError, MissingInputError
class InterfaceWidget(BrowserWidget, BrowserView):
implements(IBrowserWidget)
-
def _convert(self, value):
if value and value != 'None':
More information about the Zope3-Checkins
mailing list