Skip to content

Commit 0707fdb

Browse files
Merge pull request #1746 from caberos/issue1745
Fix tox request.get hangout issue
2 parents 0ad3cf1 + f60d60e commit 0707fdb

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')
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)