Skip to content

Commit ade00a2

Browse files
committed
fixing import of pip, no need for it. updating version.
1 parent 818b303 commit ade00a2

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

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)