[PATCH 1/2] Fix a typo in action sorting for resize actions (fs vs. device). (#501000)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/devicetree.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 3dce7be..ac297ec 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
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux