[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/homefolder/browser.py Typo
Dmitry Vasiliev
dima at hlabs.spb.ru
Sat Jan 28 14:45:35 EST 2006
Log message for revision 41476:
Typo
Changed:
U Zope3/trunk/src/zope/app/homefolder/browser.py
-=-
Modified: Zope3/trunk/src/zope/app/homefolder/browser.py
===================================================================
--- Zope3/trunk/src/zope/app/homefolder/browser.py 2006-01-28 19:43:18 UTC (rev 41475)
+++ Zope3/trunk/src/zope/app/homefolder/browser.py 2006-01-28 19:45:34 UTC (rev 41476)
@@ -31,6 +31,7 @@
from zope.dottedname.resolve import resolve
+
class PathWidget(TextWidget):
def _toFieldValue(self, input):
@@ -47,17 +48,17 @@
if value is None:
return ''
return zapi.getPath(value)
-
+
class DottedNameWidget(TextWidget):
- """ Checks if the input is a resolvable class. """
+ """ Checks if the input is a resolvable class. """
def _toFieldValue(self, input):
try:
objectToCreate = resolve(input)
except ImportError, e:
- raise ConversionError(_('dotted name is not is not correct !'), e)
+ raise ConversionError(_('dotted name is not correct !'), e)
else:
return input
-
+
class AssignHomeFolder(object):
def setupWidgets(self):
More information about the Zope3-Checkins
mailing list