diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2018-11-19 15:40:17 +0000 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2018-11-21 09:24:15 +0000 |
commit | a50c598e8d223eb706c846363d09b3308dc6d916 (patch) | |
tree | 4d6cb9119936d4bcb8350a2a9ee6d811c1fb6912 | |
parent | 7f316a768575289fec80fea8a6ea9e39fb47077f (diff) | |
download | buildstream-a50c598e8d223eb706c846363d09b3308dc6d916.tar.gz |
utils.py: Ensure move_atomic booleans are keyword only arguments
This is to be coherent with the rest of the codebase
-rw-r--r-- | buildstream/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py index 968d87f7b..a0db963da 100644 --- a/buildstream/utils.py +++ b/buildstream/utils.py @@ -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. |