diff options
author | Peter Jones <pjones@redhat.com> | 2008-09-08 10:50:44 -0400 |
---|---|---|
committer | Peter Jones <pjones@vroomfondel.internal.datastacks.com> | 2008-09-08 11:21:02 -0400 |
commit | ce62c1c27adcf413e80f63faed8ea8f48bf357de (patch) | |
tree | f5c5354a434fc914297c2c61f643442215d2afb6 /exception.py | |
parent | b9a00e190355e1dce0bc905dc24e3007f8f6b7b1 (diff) | |
download | anaconda-ce62c1c27adcf413e80f63faed8ea8f48bf357de.tar.gz anaconda-ce62c1c27adcf413e80f63faed8ea8f48bf357de.tar.xz anaconda-ce62c1c27adcf413e80f63faed8ea8f48bf357de.zip |
Use print() as a function.
Diffstat (limited to 'exception.py')
-rw-r--r-- | exception.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |