From f0aa5fd4de375d03550d773f630a614dd9fc4147 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Thu, 17 Oct 2019 18:48:00 +0200 Subject: [PATCH] library: Use new-style classes with @property Reference: https://lgtm.com/rules/10030086/ --- library/network_connections.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/network_connections.py b/library/network_connections.py index 39e81e8..0ff7a04 100644 --- a/library/network_connections.py +++ b/library/network_connections.py @@ -1373,7 +1373,7 @@ class NMUtil: ############################################################################### -class RunEnvironment: +class RunEnvironment(object): def __init__(self): self._check_mode = None @@ -1538,7 +1538,7 @@ class RunEnvironmentAnsible(RunEnvironment): ############################################################################### -class Cmd: +class Cmd(object): def __init__( self, run_env,