diff options
author | Chris Lumens <clumens@redhat.com> | 2007-09-19 18:02:09 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-09-19 18:02:09 +0000 |
commit | b12a7053f879889a6ae95d2836bc4d64cdd1e40e (patch) | |
tree | 641429dcf70f49cba219699c7143b2f135133664 /text.py | |
parent | c5a2d40be1a422d0123ed328328aca8e0e263e56 (diff) | |
download | anaconda-b12a7053f879889a6ae95d2836bc4d64cdd1e40e.tar.gz anaconda-b12a7053f879889a6ae95d2836bc4d64cdd1e40e.tar.xz anaconda-b12a7053f879889a6ae95d2836bc4d64cdd1e40e.zip |
Fix a couple problems pychecker found. There's probably a lot more commits
like this.
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -149,7 +149,7 @@ class ExceptionWindow: self.buttons=[TEXT_OK_BUTTON] - if floppy.hasFloppyDevice() == True or flags.debug: + if floppy.hasFloppyDevice() or flags.debug: self.buttons.append(_("Save")) if hasActiveNetDev() or flags.debug: @@ -302,7 +302,7 @@ class InstallInterface: from string import joinfields list = traceback.format_exception(type, value, tb) text = joinfields(list, "") - win = self.exceptionWindow(text) + win = self.exceptionWindow(text, "/tmp/anacdump.txt") win.run() rc = win.getrc() if rc == 1: @@ -364,7 +364,7 @@ class InstallInterface: txt = TextboxReflowed(65, ic.instkeydesc or _("Please enter your %(instkey)s") % - {instkey: keyname,}) + {"instkey": keyname,}) g.add(txt, 0, 0, (0,0,0,1)) |