Skip to content

Commit

Permalink
making lgtm happy
Browse files Browse the repository at this point in the history
  • Loading branch information
tahmed-dev committed Apr 7, 2020
1 parent 211e69b commit 51b6282
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions ansible/roles/test/files/ptftests/device_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,10 @@ def execCommand(self, cmd, timeout=DEFAULT_CMD_EXECUTION_TIMEOUT_SEC):
retValue = 0
except SSHException as sshException:
logger.error('SSH Command failed with message: %s' % sshException)
pass
except AuthenticationException as authenticationException:
logger.error('SSH Authentiaction failure with message: %s' % authenticationException)
pass
except BadHostKeyException as badHostKeyException:
logger.error('SSH Authentiaction failure with message: %s' % badHostKeyException)
pass
finally:
client.close()

Expand Down
1 change: 0 additions & 1 deletion ansible/roles/test/files/ptftests/sad_path.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import datetime
import ipaddress
import re
import subprocess
import time

from arista import Arista
Expand Down

0 comments on commit 51b6282

Please sign in to comment.