diff -r 23c2f934b669 -r 09ec2839e447 web/views/euser.py
--- a/web/views/euser.py Wed Feb 11 17:41:46 2009 +0100
+++ b/web/views/euser.py Wed Feb 11 17:42:30 2009 +0100
@@ -14,11 +14,6 @@
from cubicweb.web.form import EntityForm
from cubicweb.web.views.baseviews import PrimaryView, EntityView
-try:
- from hashlib import sha1 as sha
-
-except ImportError:
- from sha import sha
class EUserPrimaryView(PrimaryView):
accepts = ('EUser',)
@@ -72,8 +67,8 @@
% html_escape(entity.firstname))
emailaddr = entity.get_email()
if emailaddr:
- self.w(u'%s\n' % html_escape(unicode(emailaddr)))
- self.w(u'\n')
+ self.w(u'%s\n' % html_escape(emailaddr))
+ self.w(u'\n')
class EditGroups(EntityForm):