Add _ declaration as unicode.
authorSandrine Ribeau <sandrine.ribeau@logilab.fr>
Thu, 06 Nov 2008 16:20:22 -0800
changeset 10 36d1e8d715af
parent 9 1901fcf55ed4
child 11 db9c539e0b1b
Add _ declaration as unicode.
web/views/vcard.py
--- a/web/views/vcard.py	Thu Nov 06 15:52:25 2008 -0800
+++ b/web/views/vcard.py	Thu Nov 06 16:20:22 2008 -0800
@@ -8,6 +8,8 @@
 
 from cubicweb.common.view import EntityView
 
+_ = unicode 
+
 VCARD_PHONE_TYPES = {'home': 'HOME', 'office': 'WORK', 'mobile': 'CELL', 'fax': 'FAX'}
 
 class VCardEUserView(EntityView):