Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix for Issue 9
  • Loading branch information
mlaite authored and ctb committed Apr 17, 2010
1 parent 15c5add commit bf0fefc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/pony_client.py
Expand Up @@ -859,6 +859,7 @@ def check(name, server_url, tags=(), hostname=None, arch=None, reserve_time=0):
def get_server_url(server_name):
try_url = urlparse.urlparse(server_name)
if try_url[0]: # urlparse -> scheme
server_name = urlparse.urljoin(server_name, 'xmlrpc')
server_url = server_name
else: # not a URL?
server_url = pb_servers[server_name]
Expand Down

0 comments on commit bf0fefc

Please sign in to comment.