FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-03-2010, 09:31 PM
David Lehman
 
Default Fix typo in action sorting. Disklabels before partitions. (#560017)

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

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 4fb4e6c..d304b38 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -594,10 +594,10 @@ class DeviceTree(object):
ret = cmp(a1.device.name, a2.device.name)
elif isinstance(a1.device, PartitionDevice) and
a2.device.partitioned:
- ret = -1
+ ret = 1
elif isinstance(a2.device, PartitionDevice) and
a1.device.partitioned:
- ret = 1
+ ret = -1
else:
ret = 0
elif a1.isCreate():
--
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-03-2010, 09:37 PM
David Cantrell
 
Default Fix typo in action sorting. Disklabels before partitions. (#560017)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack. This is for 561306 in rhel6-branch too, right?

On Wed, 3 Feb 2010, David Lehman wrote:


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

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 4fb4e6c..d304b38 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -594,10 +594,10 @@ class DeviceTree(object):
ret = cmp(a1.device.name, a2.device.name)
elif isinstance(a1.device, PartitionDevice) and
a2.device.partitioned:
- ret = -1
+ ret = 1
elif isinstance(a2.device, PartitionDevice) and
a1.device.partitioned:
- ret = 1
+ ret = -1
else:
ret = 0
elif a1.isCreate():



- --
David Cantrell <dcantrell@redhat.com>

Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAktp+rkACgkQ5hsjjIy1Vkn2XwCfS58G+oNXF5 IPoXyovD04vRHZ
iiQAoIPTGlOmx+XIRKEyOm0WWmEHUOBJ
=ZrhE
-----END PGP SIGNATURE-----

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

Thread Tools




All times are GMT. The time now is 04:23 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org