diff --git a/swift/common/utils.py b/swift/common/utils.py index de60e38f14..f8feb73968 100644 --- a/swift/common/utils.py +++ b/swift/common/utils.py @@ -553,7 +553,7 @@ def cache_from_env(env): return item_from_env(env, 'swift.cache') -def readconf(conf, section_name, log_name=None, defaults=None): +def readconf(conf, section_name=None, log_name=None, defaults=None): """ Read config file and return config items as a dict