mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Restore compatibility with Python 2.6
Remove: - dict comprehensions - unittest.TestCase.assertRaises with only one argument
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
key : {% if attribute.type.name != class.name %}{{ attribute.type.name }}.{% endif %}{{ attribute.type.name }}( self._requester, element, completed = False )
|
||||
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()
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user