# HG changeset patch # User Julien Cristau # Date 1443773075 -7200 # Node ID c34bbdb187459f7099abe6703d882bbe03bd65ca # Parent 774b53f7dc3a4210b593b665875547fe91f72109 [server] unicode → six.text_type diff -r 774b53f7dc3a -r c34bbdb18745 server/sqlutils.py --- a/server/sqlutils.py Fri Oct 02 10:04:12 2015 +0200 +++ b/server/sqlutils.py Fri Oct 02 10:04:35 2015 +0200 @@ -27,7 +27,7 @@ from logging import getLogger from datetime import time, datetime -from six import string_types +from six import string_types, text_type from six.moves import filter from logilab import database as db, common as lgc @@ -484,7 +484,7 @@ if value is not None: self.values.add(value) def finalize(self): - return ', '.join(unicode(v) for v in self.values) + return ', '.join(text_type(v) for v in self.values) cnx.create_aggregate("GROUP_CONCAT", 1, group_concat)