summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-09-08 10:50:44 -0400
committerPeter Jones <pjones@vroomfondel.internal.datastacks.com>2008-09-08 11:21:02 -0400
commitce62c1c27adcf413e80f63faed8ea8f48bf357de (patch)
treef5c5354a434fc914297c2c61f643442215d2afb6 /gui.py
parentb9a00e190355e1dce0bc905dc24e3007f8f6b7b1 (diff)
downloadanaconda-ce62c1c27adcf413e80f63faed8ea8f48bf357de.tar.gz
anaconda-ce62c1c27adcf413e80f63faed8ea8f48bf357de.tar.xz
anaconda-ce62c1c27adcf413e80f63faed8ea8f48bf357de.zip
Use print() as a function.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui.py b/gui.py
index 790844c68..1e1fe4e6e 100755
--- a/gui.py
+++ b/gui.py
@@ -219,9 +219,9 @@ def partedExceptionWindow(exc):
if exc.options == parted.EXCEPTION_CANCEL:
return parted.EXCEPTION_UNHANDLED
log.critical("parted exception: %s: %s" %(exc.type_string,exc.message))
- print exc.type_string
- print exc.message
- print exc.options
+ print(exc.type_string)
+ print(exc.message)
+ print(exc.options)
win = gtk.Dialog(exc.type_string, mainWindow, gtk.DIALOG_MODAL)
addFrame(win)
win.set_position(gtk.WIN_POS_CENTER)
@@ -1410,7 +1410,7 @@ class InstallControlWindow:
newScreenClass = loaded.__dict__[className]
break
except ImportError, e:
- print e
+ print(e)
win = MessageWindow(_("Error!"),
_("An error occurred when attempting "
"to load an installer interface "
@@ -1513,7 +1513,7 @@ class InstallControlWindow:
p = readImageFromFile("anaconda_header.png",
dither = False, image = i)
if p is None:
- print _("Unable to load title bar")
+ print(_("Unable to load title bar"))
if (gtk.gdk.screen_height() < 600) or \
(gtk.gdk.screen_height() <= 675 and not runningMiniWm()):
i.hide()