changeset 31:bb84d3bc5308

make Xena VM already running on ... message more useful for adding the data hub
author jingchunzhu <jingchunzhu@gmail.com>
date Tue, 21 Jul 2015 21:09:37 -0700
parents 77f5d8cbac77
children 63b1ba1e3424
files runXena.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runXena.py	Mon Jul 20 13:31:33 2015 -0700
+++ b/runXena.py	Tue Jul 21 21:09:37 2015 -0700
@@ -99,10 +99,10 @@
     if not xenaIsRunning:
         xenaPort = xena.port(testIfAvailable=True, findNewPort=True)
         fp.write("Starting Xena VM on %s:%s\n" % (hostname, xenaPort))
-        fp.write("You can add %s:%s to Xena Data Hub\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("You can add %s:%s to Xena Data Hub\n" % (hostname, xenaPort))
+        fp.write("You can add http://%s:%s to Xena Data Hub\n" % (hostname, xenaPort))
     fp.close()
 
 elif sys.argv[1] == "stop":