Description
What needs to be done?
Examinador build is failing because the pylint missing-timeout linter is picking on some Python HTTP request functions not being supplied with the timeout argument:
************* Module setup_utils
|
libraries/setup_utils.py:107:14: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
|
************* Module utils
|
libraries/utils.py:83:10: W3101: Missing timeout argument for method 'requests.delete' can cause your program to hang indefinitely (missing-timeout)
|
We need to add reasonable timeouts for those.
Attachments
For Gerrit Dashboard: MB-54511 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182584,3 | MB-54511 Add missing timeouts to HTTP request function calls | master | examinador | Status: ABANDONED | +2 | -1 |