Skip to content

Instantly share code, notes, and snippets.

@jfear
Created April 21, 2016 19:57
Show Gist options
  • Save jfear/18a093b3cf0c64273357f4dca1d77768 to your computer and use it in GitHub Desktop.
Save jfear/18a093b3cf0c64273357f4dca1d77768 to your computer and use it in GitHub Desktop.
patch of rail-rna to avoid race condition
1064,1068d1063
< retries = 0
< while not os.path.isfile(file_or_archive):
< time.sleep(5)
< if retries > 5: break
< retries += 1
1426,1430d1420
< retries = 0
< while not os.path.isfile(file_or_archive):
< time.sleep(5)
< if retries > 5: break
< retries += 1
2056c2046
< args.direct_write)
---
> args.direct_write)
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment