[blivet:master 10/12] Disable unused argument warning for 'data' in doAutoPartition
mulhern
amulhern at redhat.com
Mon Apr 28 22:26:48 UTC 2014
Its usefullness may be revived and it is certainly passed as an argument
everywhere it is used.
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/partitioning.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/blivet/partitioning.py b/blivet/partitioning.py
index e7fe576..c6bb13f 100644
--- a/blivet/partitioning.py
+++ b/blivet/partitioning.py
@@ -346,6 +346,7 @@ def doAutoPartition(storage, data):
Clearing of partitions is handled separately, in
:meth:`~.Blivet.clearPartitions`.
"""
+ # pylint: disable=unused-argument
log.debug("doAutoPart: %s", storage.doAutoPart)
log.debug("encryptedAutoPart: %s", storage.encryptedAutoPart)
log.debug("autoPartType: %s", storage.autoPartType)
--
1.8.3.1
More information about the anaconda-patches
mailing list