mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
library: Use new-style classes with @property
Reference: https://lgtm.com/rules/10030086/
This commit is contained in:
parent
5a1f9cfd40
commit
f0aa5fd4de
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue