summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-05-29 14:31:56 -0500
committerDavid Lehman <dlehman@redhat.com>2009-05-29 14:31:56 -0500
commita3e40dda1e10d62166e95028f14a4bc1c7e5809c (patch)
tree6b4b8e8ea06de0895f867a83b604621a0c13af5e
parentabf289187fae42067fcfc801edcbd5396b2bfbb2 (diff)
downloadanaconda-a3e40dda1e10d62166e95028f14a4bc1c7e5809c.tar.gz
anaconda-a3e40dda1e10d62166e95028f14a4bc1c7e5809c.tar.xz
anaconda-a3e40dda1e10d62166e95028f14a4bc1c7e5809c.zip
Fix a typo in action sorting for resize actions (fs vs. device). (#501000)
-rw-r--r--storage/devicetree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py
index 3dce7be83..ac297ec89 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -548,7 +548,7 @@ class DeviceTree(object):
ret = 1
elif a1.isResize() and a2.isResize():
if a1.device.path == a2.device.path:
- if a1.obj and a2.obj:
+ if a1.obj == a2.obj:
ret = 0
elif a1.isFormat() and not a2.isFormat():
# same path, one device, one format