[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Formulator/Widgets - Widget.py:1.1.4.2
Jeremy Hylton
jeremy@zope.com
Tue, 4 Jun 2002 12:28:19 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Formulator/Widgets
In directory cvs.zope.org:/tmp/cvs-serv4032/Widgets
Modified Files:
Tag: Zope-3x-branch
Widget.py
Log Message:
Fix line endings
=== Zope3/lib/python/Zope/App/Formulator/Widgets/Widget.py 1.1.4.1 => 1.1.4.2 ===
#
##############################################################################
-"""
-
-$Id$
-"""
-from IWidget import IWidget
-
-
-class Widget:
- """I do not know what will be in this class, but it provides
- an extra layer.
- """
-
- __implements__ = IWidget
-
- propertyNames = []
-
-
- def __init__(self, field):
- """ """
- self._field = field
-
-
- def getValue(self, name):
- """ """
- if name in self.propertyNames:
- return getattr(self, name, None)
-
-
- def getContext(self):
- """ """
- return self._field
+"""
+
+$Id$
+"""
+from IWidget import IWidget
+
+
+class Widget:
+ """I do not know what will be in this class, but it provides
+ an extra layer.
+ """
+
+ __implements__ = IWidget
+
+ propertyNames = []
+
+
+ def __init__(self, field):
+ """ """
+ self._field = field
+
+
+ def getValue(self, name):
+ """ """
+ if name in self.propertyNames:
+ return getattr(self, name, None)
+
+
+ def getContext(self):
+ """ """
+ return self._field