# HG changeset patch # User jingchunzhu # Date 1437544886 25200 # Node ID 63b1ba1e34245bd450ac51dab1d0e3b970570f02 # Parent bb84d3bc53082a127b436d596870ab79b4170018 server status message more accurate -- http diff -r bb84d3bc5308 -r 63b1ba1e3424 runXena.py --- a/runXena.py Tue Jul 21 21:09:37 2015 -0700 +++ b/runXena.py Tue Jul 21 23:01:26 2015 -0700 @@ -84,8 +84,8 @@ # with hostname and port. If it's not running, then report as such. # if xenaIsRunning: - fp.write("Xena VM currently running on %s:%s\n" % (hostname, xenaPort)) - fp.write("You can add %s:%s to Xena Data Hub\n" % (hostname, xenaPort)) + fp.write("Xena VM currently running on http://%s:%s\n" % (hostname, xenaPort)) + fp.write("You can add http://%s:%s to Xena Data Hub\n" % (hostname, xenaPort)) else: fp.write("Xena VM is not currently running on %s\n" % (hostname)) @@ -98,10 +98,10 @@ # if not xenaIsRunning: xenaPort = xena.port(testIfAvailable=True, findNewPort=True) - fp.write("Starting Xena VM on %s:%s\n" % (hostname, xenaPort)) + fp.write("Starting Xena VM on http://%s:%s\n" % (hostname, xenaPort)) fp.write("You can add http://%s:%s to Xena Data Hub\n" % (hostname, xenaPort)) else: - fp.write("Xena VM already running on %s:%s\n" % (hostname, xenaPort)) + fp.write("Xena VM already running on http://%s:%s\n" % (hostname, xenaPort)) fp.write("You can add http://%s:%s to Xena Data Hub\n" % (hostname, xenaPort)) fp.close() @@ -112,7 +112,7 @@ # report as such. # if xenaIsRunning: - fp.write("Terminating Xena VM on %s:%s\n" % (hostname, xenaPort)) + fp.write("Terminating Xena VM on http://%s:%s\n" % (hostname, xenaPort)) else: fp.write("Xena VM is not currently running on %s\n" % (hostname))