mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Fix attributes of complex type => fix testNamedUserDetails!
This commit is contained in:
@@ -69,6 +69,7 @@ class RepositoryKey( object ):
|
||||
self.__useAttributes( result )
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
#@todo No need to check if attribute is in attributes when attribute is mandatory
|
||||
if "id" in attributes:
|
||||
self.__id = attributes[ "id" ]
|
||||
if "key" in attributes:
|
||||
|
||||
Reference in New Issue
Block a user