diff -r e6eb0c7c2e98 -r 10942ed172de hooks/__init__.py --- a/hooks/__init__.py Tue Sep 08 18:04:57 2015 +0200 +++ b/hooks/__init__.py Tue Sep 15 16:15:03 2015 +0200 @@ -52,7 +52,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.iteritems()): + for uri, source in list(repo.sources_by_uri.items()): if (uri == 'system' or not repo.config.source_enabled(source) or not source.config['synchronize']): @@ -72,7 +72,7 @@ def __call__(self): def expire_dataimports(repo=self.repo): - for uri, source in repo.sources_by_uri.iteritems(): + for uri, source in repo.sources_by_uri.items(): if (uri == 'system' or not repo.config.source_enabled(source)): continue