fixed startup message, thanks mweissen
This commit is contained in:
2
VERSION
2
VERSION
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user