Skip to content
Snippets Groups Projects
Commit 267c99ad authored by Thomas Bock's avatar Thomas Bock :speech_balloon:
Browse files

explicit --noproxy for curl commands

parent 35f5e1d5
Branches
No related tags found
No related merge requests found
......@@ -88,12 +88,12 @@ def main():
## commands
cmd_cd = "cd {tmp}".format(tmp=tmp_folder)
cmd_cert_doc = "curl --header '{header}' -X POST -d '{post_data}' {url}".format(header=json_header, post_data=post_data, url=inter_url)
cmd_json_dcc_doc = "curl --header '{header}' -X POST {url}".format(header=json_header, url=json_dcc_url)
cmd_tex_file = "curl {url} > {tmp}/{file}".format(tmp=tmp_folder, url=latex_url, yn=yn, file=latex_file)
cmd_cert_doc = "curl --noproxy '*' --header '{header}' -X POST -d '{post_data}' {url}".format(header=json_header, post_data=post_data, url=inter_url)
cmd_json_dcc_doc = "curl --noproxy '*' --header '{header}' -X POST {url}".format(header=json_header, url=json_dcc_url)
cmd_tex_file = "curl --noproxy '*' {url} > {tmp}/{file}".format(tmp=tmp_folder, url=latex_url, yn=yn, file=latex_file)
cmd_compile_latex = "cd {tmp} && {comp} {file}".format(tmp=tmp_folder, comp=comp, file=latex_file)
cmd_dcc_file = "curl {url} > {tmp}/{file}".format(tmp=tmp_folder, url=dcc_url, file=dcc_file)
cmd_dcc_valid = "curl {url} --header '{header}' -X POST --data '@{tmp}/{file}'".format(tmp=tmp_folder, url=valid_url,header=xml_header, file=dcc_file)
cmd_dcc_file = "curl --noproxy '*' {url} > {tmp}/{file}".format(tmp=tmp_folder, url=dcc_url, file=dcc_file)
cmd_dcc_valid = "curl --noproxy '*' {url} --header '{header}' -X POST --data '@{tmp}/{file}'".format(tmp=tmp_folder, url=valid_url,header=xml_header, file=dcc_file)
## cdb inst.
cdb = couchdb.Server(db_url)[db]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment