server/sources/remoterql.py
changeset 8696 0bb18407c053
parent 8695 358d8bed9626
child 8707 28cbd267e96b
--- a/server/sources/remoterql.py	Thu Feb 14 15:38:25 2013 +0100
+++ b/server/sources/remoterql.py	Thu Feb 14 16:01:24 2013 +0100
@@ -247,11 +247,10 @@
             # fake connection wrapper returned when we can't connect to the
             # external source (hence we've no chance to synchronize...)
             return
-        etypes = self.support_entities.keys()
+        etypes = list(self.support_entities)
         if mtime is None:
             mtime = self.latest_retrieval
-        updatetime, modified, deleted = extrepo.entities_modified_since(
-            etypes, mtime)
+        updatetime, modified, deleted = extrepo.entities_modified_since(etypes, mtime)
         self._query_cache.clear()
         repo = self.repo
         session = repo.internal_session()