mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-30 11:19:44 -04:00
Remove extraneous arguments to super
> dont need self.__class__, self in super - that's a python 2.x crutch. > super() is equivalent
This commit is contained in:
@@ -9,7 +9,7 @@ class ServiceAPIClient(NotificationsAPIClient):
|
||||
# Fudge assert in the super __init__ so
|
||||
# we can set those variables later.
|
||||
def __init__(self):
|
||||
super(self.__class__, self).__init__("a", "b", "c")
|
||||
super().__init__("a", "b", "c")
|
||||
|
||||
def init_app(self, application):
|
||||
self.base_url = application.config['API_HOST_NAME']
|
||||
|
||||
Reference in New Issue
Block a user