[PATCH 2/2] Make sure the error info message starts on a new line
Vratislav Podzimek
vpodzime at redhat.com
Mon Mar 24 09:54:14 UTC 2014
Also make the code better python3-ready.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/exception.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index a06b51e..1ab00a8 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -144,8 +144,8 @@ class AnacondaExceptionHandler(ExceptionHandler):
time.sleep(10)
sys.exit(0)
else:
- print "An unknown error has occured, look at the "\
- "/tmp/anaconda-tb* file(s) for more details"
+ print("\nAn unknown error has occured, look at the "
+ "/tmp/anaconda-tb* file(s) for more details")
# in the main thread, run exception handler
super(AnacondaExceptionHandler, self).handleException(
dump_info)
--
1.8.5.3
More information about the anaconda-patches
mailing list