diff -r 497b7290977d -r df862cca1773 hgdb.py --- a/hgdb.py Sun Aug 16 19:27:14 2015 +0300 +++ b/hgdb.py Sun Aug 16 23:30:11 2015 +0300 @@ -101,8 +101,8 @@ ''', (node + '%',)) names = cursor.fetchall() - names = set (zip (*names)[0]) if names else set() - return [hgpoll.RepositoriesByName[name] for name in names] + names = list (zip (*names))[0] if names else [] + return [hgpoll.RepositoriesByName[name] for name in set (names)] def find_commit_by_dateversion (self, dateversion): cursor = self.db.execute ('''