summaryrefslogtreecommitdiffstats
path: root/openstack/common/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/common/log.py')
-rw-r--r--openstack/common/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/log.py b/openstack/common/log.py
index be30e9f..fe25c76 100644
--- a/openstack/common/log.py
+++ b/openstack/common/log.py
@@ -340,7 +340,7 @@ class LogConfigError(Exception):
def _load_log_config(log_config):
try:
logging.config.fileConfig(log_config)
- except ConfigParser.Error, exc:
+ except ConfigParser.Error as exc:
raise LogConfigError(log_config, str(exc))