Permalink
Browse files

fix for Issue 9

  • Loading branch information...
1 parent 953965c commit 354994706ec1ff13cce3673d2361908040292449 @mlaite mlaite committed Apr 10, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 client/pony_client.py
View
@@ -864,6 +864,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]

0 comments on commit 3549947

Please sign in to comment.