diff options
| author | Matthew Sherborne <msherborne@gmail.com> | 2013-03-06 08:03:10 +1000 |
|---|---|---|
| committer | Matthew Sherborne <msherborne@gmail.com> | 2013-03-06 08:53:05 +1000 |
| commit | dd8c052ecb541c8c950427cd79a2292d4356748c (patch) | |
| tree | 28b1a84a43d73836307741faebe3e5a612c1cecf /openstack | |
| parent | 2cb8e4557b05f92fbd9f56b7a6a6d4f35c8a883a (diff) | |
| download | oslo-dd8c052ecb541c8c950427cd79a2292d4356748c.tar.gz oslo-dd8c052ecb541c8c950427cd79a2292d4356748c.tar.xz oslo-dd8c052ecb541c8c950427cd79a2292d4356748c.zip | |
Simple code cleanup
* Fix an exception that was raising a tuple
* Remove unused imports
* Remove unused exceptions
* Remove extra blank lines
Change-Id: I9127be991e9081dc173525c9b57ea297f389d16d
Diffstat (limited to 'openstack')
| -rw-r--r-- | openstack/common/rpc/impl_zmq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/impl_zmq.py b/openstack/common/rpc/impl_zmq.py index 13f5fca..f408165 100644 --- a/openstack/common/rpc/impl_zmq.py +++ b/openstack/common/rpc/impl_zmq.py @@ -750,7 +750,7 @@ def _multi_send(method, context, topic, msg, timeout=None, LOG.warn(_("No matchmaker results. Not casting.")) # While not strictly a timeout, callers know how to handle # this exception and a timeout isn't too big a lie. - raise rpc_common.Timeout, "No match from matchmaker." + raise rpc_common.Timeout(_("No match from matchmaker.")) # This supports brokerless fanout (addresses > 1) for queue in queues: |
