summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-03-17 11:28:51 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-03-18 09:21:50 -1000
commitbd18c5370cacbac9a88074d8b0b66f1824c9cdb7 (patch)
tree4fdd73fbadebc290aece1fb220bd676a6be4bd40 /rescue.py
parente892c1599e9f8b2694a473bd709b0717aa5cb8b8 (diff)
downloadanaconda-bd18c5370cacbac9a88074d8b0b66f1824c9cdb7.tar.gz
anaconda-bd18c5370cacbac9a88074d8b0b66f1824c9cdb7.tar.xz
anaconda-bd18c5370cacbac9a88074d8b0b66f1824c9cdb7.zip
Use booleans in isys.mount() and isys.umount()
Use True/False over 1/0. It's the future.
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue.py b/rescue.py
index ffdd6a822..aeceb9803 100644
--- a/rescue.py
+++ b/rescue.py
@@ -329,10 +329,10 @@ def runRescue(anaconda, instClass):
log.error("Error enabling swap")
# now that dev is udev, bind mount the installer dev there
- isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = 1)
+ isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = True)
# and /dev/pts
- isys.mount("/dev/pts", "%s/dev/pts" %(anaconda.rootPath,), bindMount = 1)
+ isys.mount("/dev/pts", "%s/dev/pts" %(anaconda.rootPath,), bindMount = True)
# and /selinux too
if flags.selinux and os.path.isdir("%s/selinux" %(anaconda.rootPath,)):