Show sensible-browser command when running interactively.
This commit is contained in:
parent
8b7ddc1f1d
commit
204d905a9f
5
gitstats
5
gitstats
@ -1372,6 +1372,11 @@ Default config values:
|
||||
time_end = time.time()
|
||||
exectime_internal = time_end - time_start
|
||||
print 'Execution time %.5f secs, %.5f secs (%.2f %%) in external commands)' % (exectime_internal, exectime_external, (100.0 * exectime_external) / exectime_internal)
|
||||
if sys.stdin.isatty():
|
||||
print 'You may now run:'
|
||||
print
|
||||
print ' sensible-browser \'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''")
|
||||
print
|
||||
|
||||
if __name__=='__main__':
|
||||
g = GitStats()
|
||||
|
Loading…
x
Reference in New Issue
Block a user