We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ad3cf1 + f60d60e commit 0707fdbCopy full SHA for 0707fdb
SoftLayer/CLI/core.py
@@ -44,7 +44,7 @@
44
def get_latest_version():
45
"""Gets the latest version of the Softlayer library."""
46
try:
47
- result = requests.get('https://pypi.org/pypi/SoftLayer/json')
+ result = requests.get('https://pypi.org/pypi/SoftLayer/json', timeout=60)
48
json_result = result.json()
49
latest = 'v{}'.format(json_result['info']['version'])
50
except Exception:
0 commit comments