mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Fix attributes of complex type => fix testNamedUserDetails!
This commit is contained in:
@@ -107,6 +107,7 @@ class Authorization( object ):
|
||||
self.__useAttributes( result )
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
#@todo No need to check if attribute is in attributes when attribute is mandatory
|
||||
if "app" in attributes:
|
||||
self.__app = attributes[ "app" ]
|
||||
if "created_at" in attributes:
|
||||
|
||||
Reference in New Issue
Block a user