Re: [PATCH anaconda-storage] Changed the getDevicebyLabel() to getDeviceByLabel() in devicetree.py

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

 



Looks good,

Regards,

Hans


Martin Gracik wrote:
Didn't see it used anywhere, so I hope it will not break any compatibility.
All other functions have ...By...
---
 storage/devicetree.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index b015b55..3f8e085 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1382,7 +1382,7 @@ class DeviceTree(object):
return found - def getDevicebyLabel(self, label):
+    def getDeviceByLabel(self, label):
         found = None
         for device in self._devices:
             _label = getattr(device.format, "label", None)

_______________________________________________
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