From 5fb8f269e7c03fe8252cf09dccb88ad64cc43e88 Mon Sep 17 00:00:00 2001 From: JiaJunsu Date: Mon, 16 May 2016 06:03:07 -0700 Subject: [PATCH] Modify the TransportURL's docstrings To match the test_urls.TestParseURL multi_creds Change-Id: I4a37b7bce3703aa581bc46d41690bf7978f813a6 Close-Bug: #1529310 --- oslo_messaging/transport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oslo_messaging/transport.py b/oslo_messaging/transport.py index 3faf3636c..9684be043 100644 --- a/oslo_messaging/transport.py +++ b/oslo_messaging/transport.py @@ -229,7 +229,7 @@ class TransportURL(object): Transport URLs take the form:: - transport://user:pass@host1:port[,hostN:portN]/virtual_host + transport://user:pass@host:port[,userN:passN@hostN:portN]/virtual_host i.e. the scheme selects the transport driver, you may include multiple hosts in netloc and the path part is a "virtual host" partition path. @@ -338,7 +338,7 @@ class TransportURL(object): Assuming a URL takes the form of:: - transport://user:pass@host1:port[,hostN:portN]/virtual_host + transport://user:pass@host:port[,userN:passN@hostN:portN]/virtual_host then parse the URL and return a TransportURL object.