[blivet:master 3/4] Disable redefined-builtin warning.
mulhern
amulhern at redhat.com
Tue Jul 8 13:55:58 UTC 2014
All redefinitions are python 2/3 compatibility redefinitions.
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/formats/fs.py | 2 +-
tests/size_test.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index a6635ae..af5058f 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -44,7 +44,7 @@ import logging
log = logging.getLogger("blivet")
if six.PY3:
- long = int
+ long = int # pylint: disable=redefined-builtin
fs_configs = {}
diff --git a/tests/size_test.py b/tests/size_test.py
index 8499ff7..993c64c 100644
--- a/tests/size_test.py
+++ b/tests/size_test.py
@@ -29,7 +29,7 @@ from blivet.errors import SizePlacesError
from blivet.size import Size, _prefixes
if six.PY3:
- long = int
+ long = int # pylint: disable=redefined-builtin
class SizeTestCase(unittest.TestCase):
def testExceptions(self):
--
1.9.3
More information about the anaconda-patches
mailing list