[blivet:master 09/12] Disable unused argument warning for 'info' in handleUdevLuksFormat

mulhern amulhern at redhat.com
Mon Apr 28 22:26:47 UTC 2014


handleUdevLuksFormat has the same parameters as all the other
handleUdev* methods.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/devicetree.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index d81d36f..9e7663f 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -1251,6 +1251,7 @@ class DeviceTree(object):
             device.format = fmt
 
     def handleUdevLUKSFormat(self, info, device):
+        # pylint: disable=unused-argument
         log_method_call(self, name=device.name, type=device.format.type)
         if not device.format.uuid:
             log.info("luks device %s has no uuid", device.path)
-- 
1.8.3.1



More information about the anaconda-patches mailing list