Skip to content

Commit cf1a6fb

Browse files
committed
_Pepc.py: Address pylint worry
Notice: [pylint] pepctools/_Pepc.py:1124: Redefining argument with the local name 'pman' Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
1 parent 70b6b45 commit cf1a6fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pepctools/_Pepc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,8 +1121,8 @@ def do_main(pman: ProcessManagerType | None = None) -> int:
11211121
from pepclibs.helperlibs import ProcessManager
11221122

11231123
with ProcessManager.get_pman(cmdl["hostname"], username=cmdl["username"],
1124-
privkeypath=cmdl["privkey"], timeout=cmdl["timeout"]) as pman:
1125-
args.func(args, pman)
1124+
privkeypath=cmdl["privkey"], timeout=cmdl["timeout"]) as _pman:
1125+
args.func(args, _pman)
11261126

11271127
return 0
11281128

0 commit comments

Comments
 (0)