mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Move 'todo's out of generated code
This commit is contained in:
@@ -865,7 +865,6 @@ class Repository( object ):
|
||||
None
|
||||
)
|
||||
|
||||
# @todo Remove '_identity' from the normalized json description
|
||||
@property
|
||||
def _identity( self ):
|
||||
return str( self.owner.login ) + "/" + str( self.name )
|
||||
@@ -917,7 +916,6 @@ class Repository( object ):
|
||||
self.__completed = True
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
# @todo No need to check if attribute is in attributes when attribute is mandatory
|
||||
if "clone_url" in attributes and attributes[ "clone_url" ] is not None: # pragma no branch
|
||||
assert isinstance( attributes[ "clone_url" ], ( str, unicode ) )
|
||||
self.__clone_url = attributes[ "clone_url" ]
|
||||
|
||||
Reference in New Issue
Block a user