mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Use new super syntax as per PEP 3135
This commit is contained in:
parent
cf006e34a5
commit
c64a35c362
@ -32,7 +32,7 @@ class StandaloneApplication(gunicorn.app.base.BaseApplication):
|
|||||||
'''
|
'''
|
||||||
self.options = options or {}
|
self.options = options or {}
|
||||||
self.application = app
|
self.application = app
|
||||||
super(StandaloneApplication, self).__init__()
|
super().__init__()
|
||||||
|
|
||||||
def load_config(self):
|
def load_config(self):
|
||||||
config = dict((key, value) for key, value in self.options.items()
|
config = dict((key, value) for key, value in self.options.items()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user