From cf44b8d01da3f008c867abf6b7777b3f8f88fdbe Mon Sep 17 00:00:00 2001 From: Mark McLoughlin <markmc@redhat.com> Date: Sat, 15 Jun 2013 21:25:34 +0100 Subject: [PATCH] Fix thinko in exchange_from_url() Funnily enough, this was just shown by the coverage report. --- oslo/messaging/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo/messaging/_utils.py b/oslo/messaging/_utils.py index 2497fcd8e..d3850b4e2 100644 --- a/oslo/messaging/_utils.py +++ b/oslo/messaging/_utils.py @@ -131,7 +131,7 @@ def parse_url(url, default_exchange=None): return parsed -def exchange_from_url(self, url, default_exchange=None): +def exchange_from_url(url, default_exchange=None): """Parse an exchange name from a URL. Assuming a URL takes the form of: