Skip to content

Commit f60d60e

Browse files
caberoscaberos
authored andcommitted
Fix tox request.get hangout issue
1 parent 2c52f46 commit f60d60e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
def get_latest_version():
4545
"""Gets the latest version of the Softlayer library."""
4646
try:
47-
result = requests.get('https://pypi.org/pypi/SoftLayer/json', timeout=0.001)
47+
result = requests.get('https://pypi.org/pypi/SoftLayer/json', timeout=60)
4848
json_result = result.json()
4949
latest = 'v{}'.format(json_result['info']['version'])
5050
except Exception:

0 commit comments

Comments
 (0)