diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-18 21:45:51 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-18 21:45:51 +0000 |
commit | 5f113a1267dc75a9978d3432ab82fc2373994914 (patch) | |
tree | 2a4cec7edc168013a5e3458768b20bb898e5f0ae /partedUtils.py | |
parent | c8d9d34716df41dbab235c9bc1792ea8e86e9673 (diff) | |
download | anaconda-5f113a1267dc75a9978d3432ab82fc2373994914.tar.gz anaconda-5f113a1267dc75a9978d3432ab82fc2373994914.tar.xz anaconda-5f113a1267dc75a9978d3432ab82fc2373994914.zip |
Fix traceback looking for protected partitions.
Diffstat (limited to 'partedUtils.py')
-rw-r--r-- | partedUtils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py index a2bf84939..620d94124 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -719,7 +719,9 @@ class DiskSet: # In hard drive ISO method, don't try to mount the # protected partitions because that'll throw up a # useless error message. - if node in anaconda.method.protectedPartitions(): + protected = anaconda.method.protectedPartitions() + + if not protected or node in protected: continue try: |