# HG changeset patch # User Sandrine Ribeau # Date 1226017222 28800 # Node ID 36d1e8d715afa0665984238ae4fd971a0012472d # Parent 1901fcf55ed4a9d4fb5e7b2c97949f6cf7370603 Add _ declaration as unicode. diff -r 1901fcf55ed4 -r 36d1e8d715af 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):