mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
added nosec comment
This commit is contained in:
@@ -45,7 +45,7 @@ def test_completed_lockfile(host):
|
||||
def get_version(url):
|
||||
assert url.lower().startswith('http')
|
||||
upstream_req = urllib.request.Request(url)
|
||||
with urllib.request.urlopen(upstream_req) as upstream_response:
|
||||
with urllib.request.urlopen(upstream_req) as upstream_response: #nosec
|
||||
upstream_json = json.load(upstream_response)
|
||||
upstream = upstream_json['_embedded']['versions'][0]['name']
|
||||
return upstream
|
||||
|
||||
Reference in New Issue
Block a user