Commit 3718362b authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Bugfix: Get Slice URN domain from "sa" field if present.

parent 18758f02
......@@ -128,7 +128,10 @@ if os.path.exists( LOCALCONF ):
if EXTRACONF and os.path.exists( EXTRACONF ):
execfile( EXTRACONF )
HOSTNAME = XMLRPC_SERVER[ "default" ]
if "sa" in XMLRPC_SERVER:
HOSTNAME = XMLRPC_SERVER[ "sa" ]
else:
HOSTNAME = XMLRPC_SERVER[ "default" ]
DOMAIN = HOSTNAME[HOSTNAME.find('.')+1:]
SLICEURN = "urn:publicid:IDN+" + DOMAIN + "+slice+" + SLICENAME
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment