[Zope3-checkins] Re: SVN: Zope3/trunk/src/zope/formlib/form.py Small bugfix, correct import path

Philipp von Weitershausen philipp at weitershausen.de
Sat Apr 22 02:49:29 EDT 2006


Roger Ineichen wrote:
> Log message for revision 67264:
>   Small bugfix, correct import path
> 
> Changed:
>   U   Zope3/trunk/src/zope/formlib/form.py
> 
> -=-
> Modified: Zope3/trunk/src/zope/formlib/form.py
> ===================================================================
> --- Zope3/trunk/src/zope/formlib/form.py	2006-04-21 22:04:21 UTC (rev 67263)
> +++ Zope3/trunk/src/zope/formlib/form.py	2006-04-21 23:16:54 UTC (rev 67264)
> @@ -753,7 +753,7 @@
>                      zope.app.form.browser.interfaces.IWidgetInputErrorView)
>                  title = getattr(error, 'widget_title', None) # duck typing
>                  if title:
> -                    if isinstance(title, zope.i18nmessageid.Message):
> +                    if isinstance(title, zope.i18n.Message):
>                          title = zope.i18n.translate(title, context=self.request)
>                      yield '%s: %s' % (title, view.snippet())
>                  else:

You replaced a correct import path with an uncorrect one. Please revert
this.

Philipp



More information about the Zope3-Checkins mailing list