Long line, grumble.
This commit is contained in:
parent
711fc20d88
commit
2a42092e70
1 changed files with 2 additions and 1 deletions
|
|
@ -117,7 +117,8 @@ def local_rev_committer_date():
|
|||
return local_rev_info("ci")
|
||||
|
||||
def get_url_to_file(u,f):
|
||||
tmpf = f + '.tmp' # no security issue, just to stop partial download leaving a stale file
|
||||
# no security issue, just to stop partial download leaving a stale file
|
||||
tmpf = f + '.tmp'
|
||||
try:
|
||||
subprocess.check_call(["curl", "-o", tmpf, u])
|
||||
except subprocess.CalledProcessError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue