diff options
author | Chris Lumens <clumens@redhat.com> | 2008-01-11 17:14:31 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-01-11 17:14:31 -0500 |
commit | a7f3b0e8089aac5cc940f2dbe2cac43ab1908e41 (patch) | |
tree | 43d8dc5c952c12e230736e8270ba2f435652a990 /textw | |
parent | 24af904117b233b097e6a747c71d05f0dd51e5e9 (diff) | |
download | anaconda-a7f3b0e8089aac5cc940f2dbe2cac43ab1908e41.tar.gz anaconda-a7f3b0e8089aac5cc940f2dbe2cac43ab1908e41.tar.xz anaconda-a7f3b0e8089aac5cc940f2dbe2cac43ab1908e41.zip |
Why do we still have this crud?
Diffstat (limited to 'textw')
-rw-r--r-- | textw/constants_text.py | 3 | ||||
-rw-r--r-- | textw/partition_text.py | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/textw/constants_text.py b/textw/constants_text.py index 0836bc680..8a283b620 100644 --- a/textw/constants_text.py +++ b/textw/constants_text.py @@ -64,6 +64,3 @@ TEXT_EDIT_CHECK = "edit" TEXT_EDIT_BUTTON = Translator(TEXT_EDIT_STR, TEXT_EDIT_CHECK) TEXT_F12_CHECK = "F12" - -TRUE = 1 -FALSE = 0 diff --git a/textw/partition_text.py b/textw/partition_text.py index 039cd0374..a14d81625 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -811,7 +811,7 @@ class PartitionWindow: filesystem = fstype.current() if primary.selected(): - primonly = TRUE + primonly = True else: primonly = None @@ -821,7 +821,7 @@ class PartitionWindow: request.mountpoint = self.mount.value() else: request.mountpoint = None - request.format = TRUE + request.format = True request.primary = primonly if origrequest.start == None: @@ -835,7 +835,7 @@ class PartitionWindow: if growtype == "fixed": grow = None else: - grow = TRUE + grow = True if growtype == "limit": if invalidInteger(limitentry.value()): self.intf.messageWindow(_("Invalid Entry for Maximum Size"), |