Commit b4fd4d9a authored by Rick Gruber-Riemer's avatar Rick Gruber-Riemer

Correcting wrong placement of line separator in parallel code

parent d6ddbdbf
......@@ -182,7 +182,7 @@ done
, path, OSM_FILE_NAME)
download_file.write(download_command + os.linesep)
else:
download_command = 'curl -f --retry 6 --proxy-ntlm -o %s/%s -g %s*[bbox=%f,%f,%f,%f] ' + os.linesep
download_command = 'curl -f --retry 6 --proxy-ntlm -o %s/%s -g %s*[bbox=%f,%f,%f,%f] '
if BASH_PARALLEL_PROCESS:
download_command += '&' + os.linesep + 'parallel_wait $max_parallel_process' + os.linesep
else:
......
  • it is wrong now ? The os.linesep was added in the else at line 188. With this modification there is no parallel download available since there is no "&" at the end of download_command ( but on the line after )

  • No actually the os.linesep was taken out and before the & would have been on the following line

Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment