mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Fix attributes of complex type => fix testNamedUserDetails!
This commit is contained in:
@@ -59,6 +59,7 @@ class GitBlob( object ):
|
||||
self.__completed = True
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
#@todo No need to check if attribute is in attributes when attribute is mandatory
|
||||
if "content" in attributes:
|
||||
self.__content = attributes[ "content" ]
|
||||
if "encoding" in attributes:
|
||||
|
||||
Reference in New Issue
Block a user