summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-08-17 13:06:21 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-08-17 13:06:21 -0400
commit97d35f1aff4d752f9d8d1b2aaeed08a21c1bb793 (patch)
treee86f838343849f1f48d7669fa17c46020958cb62
parent9341db452a1be0ee4c24966f01f73bb246117702 (diff)
downloadcherrypy-git-97d35f1aff4d752f9d8d1b2aaeed08a21c1bb793.tar.gz
Use super in Config
-rw-r--r--cherrypy/_cpconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/_cpconfig.py b/cherrypy/_cpconfig.py
index 5afd6336..7e1a65c6 100644
--- a/cherrypy/_cpconfig.py
+++ b/cherrypy/_cpconfig.py
@@ -151,7 +151,7 @@ class Config(reprconf.Config):
if isinstance(config, text_or_bytes):
# Filename
cherrypy.engine.autoreload.files.add(config)
- reprconf.Config.update(self, config)
+ super(Config, self).update(config)
def _apply(self, config):
"""Update self from a dict."""
@@ -161,7 +161,7 @@ class Config(reprconf.Config):
config = config['global']
if 'tools.staticdir.dir' in config:
config['tools.staticdir.section'] = 'global'
- reprconf.Config._apply(self, config)
+ super(Config, self)._apply(config)
@staticmethod
def __call__(*args, **kwargs):