diff -r 10942ed172de -r 54b8a1f249fb pylintext.py --- a/pylintext.py Tue Sep 15 16:15:03 2015 +0200 +++ b/pylintext.py Tue Oct 13 15:09:22 2015 +0200 @@ -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.itervalues(): + for assnodes in module.locals.values(): for node in assnodes: if isinstance(node, scoped_nodes.Function) and node.decorators: for decorator in node.decorators.nodes: