changeset 10662 | 10942ed172de |
parent 5621 | 6f32f08d91f3 |
child 10669 | 155c29e0ed1c |
--- a/spa2rql.py Tue Sep 08 18:04:57 2015 +0200 +++ b/spa2rql.py Tue Sep 15 16:15:03 2015 +0200 @@ -146,7 +146,7 @@ def finalize(self): """return corresponding rql query (string) / args (dict)""" - for varname, ptypes in self.possible_types.iteritems(): + for varname, ptypes in self.possible_types.items(): if len(ptypes) == 1: self.restrictions.append('%s is %s' % (varname, iter(ptypes).next())) unions = []