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