[PATCH blivet] Ignore unused memo_dict arguments in __deepcopy__ methods.

Chris Lumens clumens at redhat.com
Thu Nov 12 15:12:52 UTC 2015


---
 blivet/fcoe.py  | 1 +
 blivet/iscsi.py | 1 +
 blivet/zfcp.py  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/blivet/fcoe.py b/blivet/fcoe.py
index 45ea740..32622a6 100644
--- a/blivet/fcoe.py
+++ b/blivet/fcoe.py
@@ -70,6 +70,7 @@ class fcoe(object):
         return self
 
     def __deepcopy__(self, memo_dict):
+        # pylint: disable=unused-argument
         return self
 
     def _stabilize(self):
diff --git a/blivet/iscsi.py b/blivet/iscsi.py
index 32782ca..26b0aa0 100644
--- a/blivet/iscsi.py
+++ b/blivet/iscsi.py
@@ -164,6 +164,7 @@ class iscsi(object):
         return self
 
     def __deepcopy__(self, memo_dict):
+        # pylint: disable=unused-argument
         return self
 
     def _get_initiator(self):
diff --git a/blivet/zfcp.py b/blivet/zfcp.py
index 665a7a6..dc96703 100644
--- a/blivet/zfcp.py
+++ b/blivet/zfcp.py
@@ -298,6 +298,7 @@ class ZFCP:
         return self
 
     def __deepcopy__(self, memo_dict):
+        # pylint: disable=unused-argument
         return self
 
     def read_config(self):
-- 
2.4.3



More information about the anaconda-patches mailing list