changeset 2643:fee0bfbbed08

fix #441 Traceback on saving item with non-acsii name when user is subscribed to namere::.*
author RogerHaase <haaserd@gmail.com>
date Sun, 29 Jun 2014 09:10:52 -0700
parents bb5a8da5d9e6
children 80be9ab7c2ad
files MoinMoin/forms.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/forms.py	Sun Jun 29 09:10:01 2014 -0700
+++ b/MoinMoin/forms.py	Sun Jun 29 09:10:52 2014 -0700
@@ -245,7 +245,7 @@
                     name_ = item.meta['name'][0]
                 except IndexError:
                     name_ = "This item doesn't exist"
-                value = "{0} ({1})".format(value, name_)
+                value = u"{0} ({1})".format(value, name_)
             else:
                 value = child.u
             subscriptions.append(value)