summaryrefslogtreecommitdiffstats
path: root/openstack/common/rpc/impl_zmq.py
diff options
context:
space:
mode:
authorDirk Mueller <dirk@dmllr.de>2013-04-22 03:42:48 +0200
committerDirk Mueller <dirk@dmllr.de>2013-04-22 03:42:48 +0200
commit120ddeff7e1b8956fe35a7a39fae87ddcac8301c (patch)
treeb4eb9b278beca16004e6b1825d8173783390540a /openstack/common/rpc/impl_zmq.py
parent67767b3e8074e4b4a218d7649ef2297c124c342f (diff)
downloadoslo-120ddeff7e1b8956fe35a7a39fae87ddcac8301c.tar.gz
oslo-120ddeff7e1b8956fe35a7a39fae87ddcac8301c.tar.xz
oslo-120ddeff7e1b8956fe35a7a39fae87ddcac8301c.zip
Improve Python 3.x compatibility
Mechanical translation of deprecated constructs to 3.x compatible variants. Change-Id: I4988d0ac656903e0d0320aaa8361d4eeb774a0f9
Diffstat (limited to 'openstack/common/rpc/impl_zmq.py')
-rw-r--r--openstack/common/rpc/impl_zmq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/impl_zmq.py b/openstack/common/rpc/impl_zmq.py
index fe880c0..7a5d814 100644
--- a/openstack/common/rpc/impl_zmq.py
+++ b/openstack/common/rpc/impl_zmq.py
@@ -282,7 +282,7 @@ class InternalContext(object):
except greenlet.GreenletExit:
# ignore these since they are just from shutdowns
pass
- except rpc_common.ClientException, e:
+ except rpc_common.ClientException as e:
LOG.debug(_("Expected exception during message handling (%s)") %
e._exc_info[1])
return {'exc':