web/views/vcard.py
branchtls-sprint
changeset 1398 5fe84a5f7035
parent 889 609edca88406
child 1416 67e3e9d93f2c
--- a/web/views/vcard.py	Fri Apr 17 13:21:05 2009 +0200
+++ b/web/views/vcard.py	Fri Apr 17 16:55:37 2009 +0200
@@ -13,13 +13,13 @@
 
 VCARD_PHONE_TYPES = {'home': 'HOME', 'office': 'WORK', 'mobile': 'CELL', 'fax': 'FAX'}
 
-class VCardEUserView(EntityView):
+class VCardCWUserView(EntityView):
     """export a person information as a vcard"""
     id = 'vcard'
     title = _('vcard')
     templatable = False
     content_type = 'text/x-vcard'
-    __select__ = implements('EUser')        
+    __select__ = implements('CWUser')        
 
     def set_request_content_type(self):
         """overriden to set a .vcf filename"""
@@ -49,4 +49,4 @@
             w(u'EMAIL;TYPE=INTERNET:%s\n' % email.address)
 
 from logilab.common.deprecation import class_renamed
-VCardEuserView = class_renamed('VCardEuserView', VCardEUserView)
+VCardEuserView = class_renamed('VCardEuserView', VCardCWUserView)