mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-08 01:14:03 -07:00
Miscellaneous pylint fixes.
The following rules are no longer disabled: - bad-format-string - duplicate-key - lost-exception - trailing-newlines - unexpected-keyword-arg - useless-suppression - using-constant-test
This commit is contained in:
parent
77b2aca5a2
commit
442af3744e
35 changed files with 17 additions and 43 deletions
|
@ -60,7 +60,7 @@ class Cliconf(CliconfBase):
|
|||
cmd = b'show configuration'
|
||||
else:
|
||||
cmd = b'show configuration | display %s' % format
|
||||
return self.send_command(to_bytes(cmd), errors='surrogate_or_strict')
|
||||
return self.send_command(to_bytes(cmd, errors='surrogate_or_strict'))
|
||||
|
||||
def edit_config(self, command):
|
||||
for cmd in chain([b'configure'], to_list(command)):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue