web/views/boxes.py
changeset 10717 46f934bebd85
parent 10688 fa29f3628a1b
--- a/web/views/boxes.py	Fri Sep 18 18:02:20 2015 +0200
+++ b/web/views/boxes.py	Fri Sep 18 18:03:19 2015 +0200
@@ -30,7 +30,7 @@
 
 from warnings import warn
 
-from six import add_metaclass
+from six import text_type, add_metaclass
 
 from logilab.mtconverter import xml_escape
 from logilab.common.deprecation import class_deprecated
@@ -218,7 +218,7 @@
 
     @property
     def domid(self):
-        return super(RsetBox, self).domid + unicode(abs(id(self))) + unicode(abs(id(self.cw_rset)))
+        return super(RsetBox, self).domid + text_type(abs(id(self))) + text_type(abs(id(self.cw_rset)))
 
     def render_title(self, w):
         w(self.cw_extra_kwargs['title'])