Files
PyGithub/codegen/templates/GithubObject.AttributeValue.complex.dict.py
T
Vincent Jacques b3fce397c0 Restore compatibility with Python 2.6
Remove:
- dict comprehensions
- unittest.TestCase.assertRaises with only one argument
2012-06-01 19:05:02 +01:00

4 lines
281 B
Python

dict(
( key, {% if attribute.type.name != class.name %}{{ attribute.type.name }}.{% endif %}{{ attribute.type.name }}( self._requester, element, completed = False ) )
for key, element in attributes[ "{{ attribute.name }}" ].iteritems()
)