]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
misc: add flexibility and move_file 1049/head
authorJan Fajerski <jfajerski@suse.com>
Thu, 16 Mar 2017 13:21:31 +0000 (14:21 +0100)
committerJan Fajerski <jfajerski@suse.com>
Tue, 21 Mar 2017 07:00:39 +0000 (08:00 +0100)
commit8a5b6137a46f74f0cb0440635fa098dd6311572a
tree4db2707ed929a8c0fdbd646b13ca3078b2aca179
parent9fcb8f656c65a27c52bee93e468d6ffac1e3db5c
misc: add flexibility and move_file

Add preserve_perms argument to move_file to make the preservation of
permissions optional. This makes move_file usable if the target
file does not yet exist.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
teuthology/misc.py