Skip to content
Snippets Groups Projects
Commit 17b37e07 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

gstlal_inspiral: change HTTPServers() init

- remove job tag from advertised service name
- use default port number (= randomly assigned)
- add line breaks to organize code
parent f963e3c7
No related branches found
No related tags found
No related merge requests found
......@@ -582,7 +582,15 @@ for output_file_number, (svd_bank, output_filename, likelihood_namedtuple, zero_
# uncomment the next line to show tracebacks when something fails
# in the web server
#bottle.app().catchall = False
httpservers = httpinterface.HTTPServers(0, bottle_app = bottle.default_app(), service_name = "gstlal_inspiral" + (" (%s)" % options.job_tag if options.job_tag is not None else ""), service_properties = {"job_tag": options.job_tag if options.job_tag is not None else "", "GSTLAL_LL_JOB": os.environ.get("GSTLAL_LL_JOB", "")}, verbose = options.verbose)
httpservers = httpinterface.HTTPServers(
bottle_app = bottle.default_app(),
service_name = "gstlal_inspiral",
service_properties = {
"job_tag": options.job_tag if options.job_tag is not None else "",
"GSTLAL_LL_JOB": os.environ.get("GSTLAL_LL_JOB", "")
},
verbose = options.verbose
)
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment