We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 597aebc commit 377b2e7Copy full SHA for 377b2e7
1 file changed
src/com/dvsnier/process/execute.py
@@ -36,9 +36,9 @@ def execute(cmds, quiet=True):
36
end = time.time()
37
if not quiet:
38
if platform.system() == 'Linux' and os.isatty(1):
39
- print '\r',
+ print('\r'),
40
msg = '[%.5f] -> %s' % (end - start, ' | '.join(cmds))
41
- print msg
+ print(msg)
42
content = output.rstrip('\n')
43
# logging.debug('the current run process pid(cwd: %s, ppid: %s, id: %s%d).' %
44
# (p.pid, os.getppid(), type(p), id(p)))
0 commit comments