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:
@@ -58,7 +58,6 @@ class CommitFile( object ):
|
||||
self.__status = None
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
# @todo No need to check if attribute is in attributes when attribute is mandatory
|
||||
if "additions" in attributes and attributes[ "additions" ] is not None: # pragma no branch
|
||||
self.__additions = attributes[ "additions" ]
|
||||
if "blob_url" in attributes and attributes[ "blob_url" ] is not None: # pragma no branch
|
||||
|
||||
Reference in New Issue
Block a user