mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Remove the notion of ImmediateCompletion
This commit is contained in:
@@ -5,13 +5,11 @@ import PaginatedList
|
||||
from GithubObject import *
|
||||
|
||||
class RepositoryKey( object ):
|
||||
def __init__( self, requester, attributes, completion, repoUrl ):
|
||||
def __init__( self, requester, attributes, completed, repoUrl ):
|
||||
self.__requester = requester
|
||||
self.__initAttributes()
|
||||
self.__useAttributes( attributes )
|
||||
self.__completed = completion != LazyCompletion
|
||||
if completion == ImmediateCompletion:
|
||||
self.__complete() # pragma: no cover
|
||||
self.__completed = completed
|
||||
self.__repoUrl = repoUrl
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user