server/sources/__init__.py
changeset 9822 4a118bfd6ab4
parent 9662 f13ae1fea212
child 10086 98bc2ca1a816
--- a/server/sources/__init__.py	Fri Jun 27 11:48:26 2014 +0200
+++ b/server/sources/__init__.py	Thu Mar 20 08:49:10 2014 +0100
@@ -105,7 +105,7 @@
         self.support_relations['identity'] = False
         self.eid = eid
         self.public_config = source_config.copy()
-        self.public_config.setdefault('use-cwuri-as-url', self.use_cwuri_as_url)
+        self.public_config['use-cwuri-as-url'] = self.use_cwuri_as_url
         self.remove_sensitive_information(self.public_config)
         self.uri = source_config.pop('uri')
         set_log_methods(self, getLogger('cubicweb.sources.'+self.uri))