From ce62c1c27adcf413e80f63faed8ea8f48bf357de Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 8 Sep 2008 10:50:44 -0400 Subject: Use print() as a function. --- exception.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exception.py') diff --git a/exception.py b/exception.py index 3820c72f0..93dc36820 100644 --- a/exception.py +++ b/exception.py @@ -579,7 +579,7 @@ def handleException(anaconda, (type, value, tb)): os.kill(os.getpid(), signal.SIGKILL) elif rc == EXN_DEBUG: anaconda.intf.__del__ () - print text + print(text) pidfl = "/tmp/vncshell.pid" if os.path.exists(pidfl) and os.path.isfile(pidfl): @@ -604,7 +604,7 @@ def handleException(anaconda, (type, value, tb)): attr[3] = attr[3] & termios.ECHO termios.tcsetattr(si, termios.TCSADRAIN, attr) - print "\nEntering debugger..." + print("\nEntering debugger...") import pdb pdb.post_mortem (tb) os.kill(os.getpid(), signal.SIGKILL) -- cgit