# HG changeset patch # User Julien Cristau # Date 1446651696 -3600 # Node ID 6fb9d9276880ce7577975b945d3500ff8e70ce10 # Parent 8e05f1db8d165c9dca21184922ef7e14053467b4 [ccplugin] print_function diff -r 8e05f1db8d16 -r 6fb9d9276880 ccplugin.py --- a/ccplugin.py Thu Jul 30 09:55:36 2015 +0200 +++ b/ccplugin.py Wed Nov 04 16:41:36 2015 +0100 @@ -4,6 +4,8 @@ The reloading strategy is heavily inspired by (and partially copied from) the pyramid script 'pserve'. """ +from __future__ import print_function + import atexit import errno import os @@ -223,7 +225,7 @@ proc = subprocess.Popen(args, env=new_environ) exit_code = proc.wait() proc = None - print "Process exited with ", exit_code + print("Process exited with", exit_code) except KeyboardInterrupt: self.info('^C caught in monitor process') return 1