Lint: E265 block comment should start with '# '

This commit is contained in:
2020-11-06 21:32:17 -05:00
parent 4b47a2424c
commit 2eef6a1c21
4 changed files with 17 additions and 21 deletions

View File

@ -559,7 +559,6 @@ def runRemoteCommand(node, command, become=False):
ssh_client = paramiko.client.SSHClient()
ssh_client.load_system_host_keys()
ssh_client.set_missing_host_key_policy(DnssecPolicy())
#ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh_client.connect(node)
stdin, stdout, stderr = ssh_client.exec_command(command)
return stdout.read().decode('ascii').rstrip(), stderr.read().decode('ascii').rstrip()