Commit fc27b94e authored by Merret Buurman's avatar Merret Buurman
Browse files

Removed two unneccesary string.strip() calls.

parent ca30517d
......@@ -41,7 +41,7 @@ def _get_handle_server_from_config():
def _get_global_handle_resolver():
val = DEFAULTS['globalresolver']
return val.strip('/')
return val
except KeyError:
msg = 'No default URL for the global handle resolver found.'
......@@ -51,7 +51,7 @@ def _get_resolver_base_url():
handleserver = _get_handle_server_from_config()
if handleserver is None:
handleserver = _get_global_handle_resolver()
return handleserver.rstrip('/')
return handleserver
def _get_resolver_url():
base_url = _get_resolver_base_url()
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