mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Move 'todo's out of generated code
This commit is contained in:
@@ -117,7 +117,6 @@ class CommitComment( object ):
|
||||
self.__completed = True
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
# @todo No need to check if attribute is in attributes when attribute is mandatory
|
||||
if "body" in attributes and attributes[ "body" ] is not None: # pragma no branch
|
||||
assert isinstance( attributes[ "body" ], ( str, unicode ) )
|
||||
self.__body = attributes[ "body" ]
|
||||
|
||||
Reference in New Issue
Block a user