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

David Lehman dlehman at redhat.com
Thu Nov 12 16:27:18 UTC 2015


On Thu, 2015-11-12 at 10:12 -0500, Chris Lumens wrote:
> ---
>  blivet/fcoe.py  | 1 +
>  blivet/iscsi.py | 1 +
>  blivet/zfcp.py  | 1 +
>  3 files changed, 3 insertions(+)

ACK

> 
> 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):


More information about the anaconda-patches mailing list