mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-16 17:01:30 +00:00
Cleanup: remove unicode prefix, remove explicit inheritance from object (#11015)
* Address UP025: remove unicode literals from strings. * Address UP004: class inherits from 'object'.
This commit is contained in:
parent
f61847b116
commit
0c5466de47
242 changed files with 329 additions and 331 deletions
|
|
@ -63,7 +63,7 @@ class FormatError(CmdRunnerException):
|
|||
return f"Failed to format parameter {self.name} with value {self.value}: {self.exc}"
|
||||
|
||||
|
||||
class CmdRunner(object):
|
||||
class CmdRunner:
|
||||
"""
|
||||
Wrapper for ``AnsibleModule.run_command()``.
|
||||
|
||||
|
|
@ -129,7 +129,7 @@ class CmdRunner(object):
|
|||
context = __call__
|
||||
|
||||
|
||||
class _CmdRunnerContext(object):
|
||||
class _CmdRunnerContext:
|
||||
def __init__(self, runner, args_order, output_process, check_mode_skip, check_mode_return, **kwargs):
|
||||
self.runner = runner
|
||||
self.args_order = tuple(args_order)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue