Annotate py3k code when needed.

This commit is contained in:
Alexis Métaireau 2013-01-11 18:55:04 +01:00
commit 149ca493e0
4 changed files with 7 additions and 2 deletions

View file

@ -120,7 +120,7 @@ class Generator(object):
for item in items:
value = getattr(self, item)
if hasattr(value, 'items'):
value = list(value.items())
value = list(value.items()) # py3k safeguard for iterators
self.context[item] = value