Skip to content

Commit da48ef5

Browse files
author
Tomer Admon
authored
Merge pull request QualiSystems#92 from QualiSystems/ansible_import_pip_fix
fixing import of pip, no need for it. updating version.
2 parents 818b303 + 3368c72 commit da48ef5

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cloudshell-shell-core>=3.1.0,<3.2.0
2-
cloudshell-cm-ansible>=1.4.0,<1.5.0
2+
cloudshell-cm-ansible>=1.5.0,<1.6.0

drivers/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.0
1+
1.5.0

package/cloudshell/cm/ansible/domain/connection_service.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from paramiko.ssh_exception import NoValidConnectionsError
1313
from winrm.exceptions import WinRMTransportError
1414

15-
from pip._vendor.requests import ConnectionError
1615
from paramiko import SSHClient, AutoAddPolicy, RSAKey
1716

1817

@@ -52,9 +51,6 @@ def check_connection(self, target_host, logger, ansible_port):
5251
result = session.run_cmd('@echo ' + uid)
5352
assert uid in result.std_out
5453
except requests.ConnectionError as e:
55-
# Time out is allowed exception
56-
raise ExcutorConnectionError(10060, e)
57-
except ConnectionError as e:
5854
match = re.search(r'\[Errno (?P<errno>\d+)\]', str(e.message))
5955
error_code = int(match.group('errno')) if match else 0
6056
raise ExcutorConnectionError(error_code, e)

package/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.0
1+
1.5.0

0 commit comments

Comments
 (0)