Created
April 21, 2016 19:57
-
-
Save jfear/18a093b3cf0c64273357f4dca1d77768 to your computer and use it in GitHub Desktop.
patch of rail-rna to avoid race condition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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