diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-03-24 16:02:27 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-03-24 16:02:27 +0000 |
commit | 45744e5958b008cf6f8375fd7c10e3506eb4afab (patch) | |
tree | 1c30bee5b1259b144e9e147885498ccadda3f26e /partedUtils.py | |
parent | 72eb48a7e39830dd47ce5b4a83ce840d24a26854 (diff) | |
download | anaconda-45744e5958b008cf6f8375fd7c10e3506eb4afab.tar.gz anaconda-45744e5958b008cf6f8375fd7c10e3506eb4afab.tar.xz anaconda-45744e5958b008cf6f8375fd7c10e3506eb4afab.zip |
Build it up, tear it down. Since we're destroying isys from the inside,
figured I'd remove isys.getpagesize() since the Python resource module
has that.
Diffstat (limited to 'partedUtils.py')
-rw-r--r-- | partedUtils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/partedUtils.py b/partedUtils.py index 332b284e7..799d1c16f 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -19,7 +19,7 @@ import parted import math -import os, sys, string, struct +import os, sys, string, struct, resource from product import * import fsset @@ -410,7 +410,7 @@ def sniffFilesystemType(device): except: pass - pagesize = isys.getpagesize() + pagesize = resource.getpagesize() if pagesize > 2048: num = pagesize else: |