changeset 13 | 2b20d7a5e7ee |
parent 10 | a54dbd49da21 |
child 15 | 551c55958cf3 |
--- a/src/pyams_catalog/query.py Wed Jul 22 16:49:58 2015 +0200 +++ b/src/pyams_catalog/query.py Thu Oct 08 09:47:43 2015 +0200 @@ -33,6 +33,8 @@ def __iter__(self): query = self.query intids = self.intids + if intids is None: + raise StopIteration if isinstance(query, Query): query = query.execute() if isinstance(query, tuple):