mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Remove __completed from non-completable classes
This commit is contained in:
@@ -7,9 +7,9 @@ from GithubObject import *
|
||||
class Authorization( object ):
|
||||
def __init__( self, requester, attributes, completion ):
|
||||
self.__requester = requester
|
||||
self.__completed = completion != LazyCompletion
|
||||
self.__initAttributes()
|
||||
self.__useAttributes( attributes )
|
||||
self.__completed = completion != LazyCompletion
|
||||
if completion == ImmediateCompletion:
|
||||
self.__complete()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user