fixed startup message, thanks mweissen

This commit is contained in:
mdipierro
2014-03-09 17:19:03 -05:00
parent b3ba5d9eaa
commit 4d03460944
2 changed files with 5 additions and 5 deletions

View File

@@ -1 +1 @@
Version 2.9.4-stable+timestamp.2014.03.09.08.54.17
Version 2.9.4-stable+timestamp.2014.03.09.17.17.38

View File

@@ -1222,12 +1222,12 @@ end tell
url = get_url(ip, proto=proto, port=port)
if not options.nobanner:
print 'please visit:'
print '\t', url
message = '\nplease visit:\n\t%s\n' % url
if sys.platform.startswith('win'):
print 'use "taskkill /f /pid %i" to shutdown the web2py server' % os.getpid()
message += 'use "taskkill /f /pid %i" to shutdown the web2py server\n\n' % os.getpid()
else:
print 'use "kill -SIGTERM %i" to shutdown the web2py server' % os.getpid()
message += 'use "kill -SIGTERM %i" to shutdown the web2py server\n\n' % os.getpid()
print message
# enhance linecache.getline (used by debugger) to look at the source file
# if the line was not found (under py2exe & when file was modified)