Fix crashes with unicode characters in maintainer name

Change every mention of MAINTAINER to avoid future issues.
This commit is contained in:
Laurent Bachelier 2012-10-24 13:29:30 +02:00
commit 3a66728392
72 changed files with 73 additions and 73 deletions

View file

@ -176,8 +176,8 @@ class QtDo(QObject):
if not msg:
msg = 'Website is unavailable.'
elif isinstance(error, NotImplementedError):
msg = 'This feature is not supported by this backend.\n\n' \
'To help the maintainer of this backend implement this feature, please contact: %s <%s>' % (backend.MAINTAINER, backend.EMAIL)
msg = u'This feature is not supported by this backend.\n\n' \
u'To help the maintainer of this backend implement this feature, please contact: %s <%s>' % (backend.MAINTAINER, backend.EMAIL)
elif isinstance(error, UserError):
if not msg:
msg = type(error).__name__