mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Switch to no argument super() (#1361)
Now that Python 2 support is gone, we can switch to no argument super() rather than calling our superclass by name.
This commit is contained in:
@@ -147,7 +147,7 @@ class SourceImport(github.GithubObject.CompletableGithubObject):
|
||||
|
||||
def update(self):
|
||||
import_header = {"Accept": Consts.mediaTypeImportPreview}
|
||||
return super(SourceImport, self).update(additional_headers=import_header)
|
||||
return super().update(additional_headers=import_header)
|
||||
|
||||
def _initAttributes(self):
|
||||
self._authors_count = github.GithubObject.NotSet
|
||||
|
||||
Reference in New Issue
Block a user