diff --git a/ceilometer/nova_client.py b/ceilometer/nova_client.py index 48ae26d00..503414903 100644 --- a/ceilometer/nova_client.py +++ b/ceilometer/nova_client.py @@ -32,7 +32,7 @@ def logged(func): def with_logging(*args, **kwargs): try: return func(*args, **kwargs) - except Exception, e: + except Exception as e: LOG.exception(e) raise