mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Move 'todo's out of generated code
This commit is contained in:
@@ -83,7 +83,6 @@ class UserKey( object ):
|
||||
self.__completed = True
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
# @todo No need to check if attribute is in attributes when attribute is mandatory
|
||||
if "id" in attributes and attributes[ "id" ] is not None: # pragma no branch
|
||||
self.__id = attributes[ "id" ]
|
||||
if "key" in attributes and attributes[ "key" ] is not None: # pragma no branch
|
||||
|
||||
Reference in New Issue
Block a user