summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--constants.py5
-rw-r--r--textw/constants_text.py3
-rw-r--r--textw/partition_text.py6
3 files changed, 3 insertions, 11 deletions
diff --git a/constants.py b/constants.py
index 30c1f88bb..45f3d14be 100644
--- a/constants.py
+++ b/constants.py
@@ -64,11 +64,6 @@ SKIP_KEY = -50
# pull in kickstart constants as well
from pykickstart.constants import *
-# set to the number of CDs the distribution currently has. might increase
-# or decrease over time
-NUMBER_OF_CDS = 5
-
-
# common string needs to be easy to change
import product
productName = product.productName
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"),