diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-03-17 11:28:51 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-03-18 09:21:50 -1000 |
commit | bd18c5370cacbac9a88074d8b0b66f1824c9cdb7 (patch) | |
tree | 4fdd73fbadebc290aece1fb220bd676a6be4bd40 /rescue.py | |
parent | e892c1599e9f8b2694a473bd709b0717aa5cb8b8 (diff) | |
download | anaconda-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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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,)): |