client/rhel/rhn-client-tools/src/bin/spacewalk-channel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5056468dd3f3674fba955a36467a1f0b057f8604
Author: Stephen Herr <sherr(a)redhat.com>
Date: Thu Sep 27 15:10:22 2012 -0400
855992 - fix typo in urlunsplit method call
diff --git a/client/rhel/rhn-client-tools/src/bin/spacewalk-channel.py b/client/rhel/rhn-client-tools/src/bin/spacewalk-channel.py
index 01eeb41..aa285a8 100644
--- a/client/rhel/rhn-client-tools/src/bin/spacewalk-channel.py
+++ b/client/rhel/rhn-client-tools/src/bin/spacewalk-channel.py
@@ -94,7 +94,7 @@ def get_available_channels(user, password):
servers = config.getServerlURL()
for server in servers:
scheme, netloc, path, query, fragment = urlparse.urlsplit(server)
- modified_servers.append(urlparse.urlunsplit(scheme, netloc, '/rpc/api', query, fragment))
+ modified_servers.append(urlparse.urlunsplit((scheme, netloc, '/rpc/api', query, fragment)))
client = rhnserver.RhnServer(serverOverride=modified_servers)
try:
key = client.auth.login(user, password)