cubicweb/hooks/__init__.py
branch3.25
changeset 12145 752b94ed9748
parent 12112 0a54f49314f6
--- a/cubicweb/hooks/__init__.py	Wed Apr 05 14:31:44 2017 +0200
+++ b/cubicweb/hooks/__init__.py	Tue Apr 04 17:43:56 2017 +0200
@@ -56,7 +56,7 @@
         def update_feeds(repo):
             # take a list to avoid iterating on a dictionary whose size may
             # change
-            for uri, source in list(repo.sources_by_uri.items()):
+            for uri, source in repo.sources_by_uri.items():
                 if (uri == 'system'
                     or not repo.config.source_enabled(source)
                     or not source.config['synchronize']):