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 /livecd.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 'livecd.py')
-rw-r--r-- | livecd.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -140,7 +140,7 @@ class LiveCDCopyBackend(backend.AnacondaBackend): dirs.append("/selinux") for dir in dirs: try: - isys.umount("%s/%s" %(anaconda.rootPath,dir), removeDir = 0) + isys.umount("%s/%s" %(anaconda.rootPath,dir), removeDir = False) except Exception, e: log.error("unable to unmount %s: %s" %(dir, e)) @@ -303,7 +303,7 @@ class LiveCDCopyBackend(backend.AnacondaBackend): isys.mount("/selinux", anaconda.rootPath + "/selinux", "selinuxfs") except Exception, e: log.error("error mounting selinuxfs: %s" %(e,)) - isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = 1) + isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = True) wait.pop() |