[blivet:master 12/25] Disable E1003 warning.

mulhern amulhern at redhat.com
Wed Apr 16 21:54:33 UTC 2014


This warning is triggered if the first argument to super is anything other than
the name of the class. It is intentionally different in this case in order to
skip the immediate super class.

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

diff --git a/blivet/partitioning.py b/blivet/partitioning.py
index 0135d05..25977a5 100644
--- a/blivet/partitioning.py
+++ b/blivet/partitioning.py
@@ -1733,7 +1733,7 @@ class ThinPoolChunk(VGChunk):
         self.vg = pool.vg   # only used for align, &c
         self.path = pool.path
         usable_extents = (pool.size / pool.vg.peSize)
-        # Skip VGChunk's constructor.
+        # pylint: disable=E1003
         super(VGChunk, self).__init__(usable_extents, requests=requests)
 
 def getDiskChunks(disk, partitions, free):
-- 
1.8.3.1



More information about the anaconda-patches mailing list