misc/migration/3.10.0_Any.py
changeset 6945 28bf94d062a9
parent 6546 31586c7b63f6
child 7508 48398bf8a33a
--- a/misc/migration/3.10.0_Any.py	Mon Feb 07 18:19:36 2011 +0100
+++ b/misc/migration/3.10.0_Any.py	Mon Feb 07 18:19:39 2011 +0100
@@ -5,7 +5,7 @@
 for uri, cfg in config.sources().items():
     if uri in ('system', 'admin'):
         continue
-    repo.sources_by_uri[uri] = repo.get_source(cfg['adapter'], uri, cfg)
+    repo.sources_by_uri[uri] = repo.get_source(cfg['adapter'], uri, cfg.copy())
 
 add_entity_type('CWSource')
 add_relation_definition('CWSource', 'cw_source', 'CWSource')