Skip to content
Snippets Groups Projects
Commit bfa8b4ca authored by Benjamin Schubert's avatar Benjamin Schubert
Browse files

utils.py: Ensure move_atomic booleans are keyword only arguments

This is to be coherent with the rest of the codebase
parent c6306b88
No related branches found
No related tags found
No related merge requests found
......@@ -505,7 +505,7 @@ def get_bst_version():
.format(__version__))
def move_atomic(source, destination, ensure_parents=True):
def move_atomic(source, destination, *, ensure_parents=True):
"""Move the source to the destination using atomic primitives.
This uses `os.rename` to move a file or directory to a new destination.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment