[PATCH 11/11] Fix storage/__init__.py:1857: non-keyword arg after keyword arg

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

 



Courtesy of pylint
---
 storage/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 0dcad09..2fc35aa 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1853,8 +1853,8 @@ class FSSet(object):
 #
 """ % time.asctime()
 
-        devices = sorted(key=lambda d: d.format.mountpoint,
-                         self.mountpoints.values())
+        devices = sorted(self.mountpoints.values(),
+                         key=lambda d: d.format.mountpoint)
         devices += self.swapDevices
         devices.extend([self.devshm, self.devpts, self.sysfs, self.proc])
         netdevs = self.devicetree.getDevicesByInstance(NetworkStorageDevice)
-- 
1.6.4

_______________________________________________
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