Commit 94068fd0 authored by Chad Hanna's avatar Chad Hanna Code up a few webserver paths depending on where the online analysis runs

parent ef7a0671
......@@ -103,6 +103,20 @@ def log_path():
raise KeyError("$TMPDIR is not set and I don't recognize this environment")
def webserver_url():
The stupid pet tricks to find webserver on the LDG.
host = socket.getfqdn()
#FIXME add more hosts as you need them
if "cit" in host or "" in host:
return ""
if "" in host or "" in host:
return ""
raise NotImplementedError("I don't know where the webserver is for this environment")
# DAG class
Markdown is supported
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