--- a/server/sources/__init__.py Thu Nov 19 15:56:22 2015 +0100
+++ b/server/sources/__init__.py Thu Nov 19 17:16:19 2015 +0100
@@ -111,7 +111,7 @@
self.uri = source_config.pop('uri')
# unormalize to avoid non-ascii characters in logger's name, this will cause decoding error
# on logging
- set_log_methods(self, getLogger('cubicweb.sources.' + unormalize(unicode(self.uri))))
+ set_log_methods(self, getLogger('cubicweb.sources.' + unormalize(text_type(self.uri))))
source_config.pop('type')
self.update_config(None, self.check_conf_dict(eid, source_config,
fail_if_unknown=False))