mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Whitespace changes for travis
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user