[Zope3-checkins] SVN: Zope3/trunk/src/z Message normal string changed to unicode string

Dmitry Vasiliev lists at hlabs.spb.ru
Tue Aug 23 06:46:33 EDT 2005


Egon Frerich wrote:
> Log message for revision 38033:
>   Message normal string changed to unicode string
> 
> Changed:
>   U   Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py
>   U   Zope3/trunk/src/zwiki/locales/zwiki.pot
> 
> -=-
> Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py
> ===================================================================
> --- Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py	2005-08-23 08:27:18 UTC (rev 38032)
> +++ Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py	2005-08-23 09:44:01 UTC (rev 38033)
> @@ -34,4 +34,4 @@
>                      or _(u"You restarted the server."))
>          elif 'shutdown' in self.request:
>              return (self.serverControl().shutdown(time)
> -                    or _("You shut down the server."))
> +                    or _(u"You shut down the server."))

It's doesn't make much sense since _() function anyway return an unicode object.

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru


More information about the Zope3-Checkins mailing list