Skip to content

Commit

Permalink
catch IOError in ensure_file (dask#4806)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt authored and martindurant committed May 16, 2019
1 parent d53b560 commit edec110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask/config.py
Expand Up @@ -252,7 +252,7 @@ def ensure_file(
os.rename(tmp, destination)
except OSError:
os.remove(tmp)
except OSError:
except (IOError, OSError):
pass


Expand Down

0 comments on commit edec110

Please sign in to comment.