Merge "Improve Python 3.x compatibility"
This commit is contained in:
commit
1103cb5839
@ -32,7 +32,7 @@ def logged(func):
|
|||||||
def with_logging(*args, **kwargs):
|
def with_logging(*args, **kwargs):
|
||||||
try:
|
try:
|
||||||
return func(*args, **kwargs)
|
return func(*args, **kwargs)
|
||||||
except Exception, e:
|
except Exception as e:
|
||||||
LOG.exception(e)
|
LOG.exception(e)
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user