diff -r 358d8bed9626 -r 0bb18407c053 pylintext.py --- a/pylintext.py Thu Feb 14 15:38:25 2013 +0100 +++ b/pylintext.py Thu Feb 14 16:01:24 2013 +0100 @@ -17,7 +17,7 @@ def cubicweb_transform(module): # handle objectify_predicate decorator (and its former name until bw compat # is kept). Only look at module level functions, should be enough. - for assnodes in module.locals.values(): + for assnodes in module.locals.itervalues(): for node in assnodes: if isinstance(node, scoped_nodes.Function) and node.decorators: for decorator in node.decorators.nodes: