Whitespace changes for travis

This commit is contained in:
Eric Rasche
2016-02-26 14:50:41 +00:00
parent 5bfb872048
commit d7ed11477b
2 changed files with 15 additions and 9 deletions
@@ -59,11 +59,14 @@ class InteractiveEnvironmentRequest(object):
# This duplicates the logic in the proxy manager
if self.attr.galaxy_config.dynamic_proxy_external_proxy:
self.attr.proxy_prefix = '/'.join(('',
self.attr.galaxy_config.cookie_path.strip('/'),
self.attr.galaxy_config.dynamic_proxy_prefix.strip('/'),
self.attr.viz_id,
))
self.attr.proxy_prefix = '/'.join(
(
'',
self.attr.galaxy_config.cookie_path.strip('/'),
self.attr.galaxy_config.dynamic_proxy_prefix.strip('/'),
self.attr.viz_id,
)
)
else:
self.attr.proxy_prefix = ''
+7 -4
View File
@@ -58,10 +58,10 @@ class ProxyManager(object):
authentication = AuthenticationToken(trans)
proxy_requests = ProxyRequests(host=host, port=port)
self.proxy_ipc.handle_requests(
authentication,
proxy_requests,
'/%s' % route_name,
container_ids
authentication,
proxy_requests,
'/%s' % route_name,
container_ids
)
# TODO: These shouldn't need to be request.host and request.scheme -
# though they are reasonable defaults.
@@ -98,6 +98,7 @@ class ProxyLauncher(object):
def launch_proxy_command(self, config):
raise NotImplementedError()
class NodeProxyLauncher(object):
def launch_proxy_command(self, config):
@@ -114,6 +115,7 @@ class NodeProxyLauncher(object):
command = [ path_to_application ] + args
return command
class GolangProxyLauncher(object):
def launch_proxy_command(self, config):
@@ -224,6 +226,7 @@ class SqliteProxyIpc(object):
finally:
conn.close()
class RestGolangProxyIpc(object):
def __init__(self, config):