]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
task.ansible: use shutil.move instead of os.rename to move a failure log 595/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 13 Aug 2015 14:32:45 +0000 (09:32 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 13 Aug 2015 17:43:24 +0000 (12:43 -0500)
commit50a45c90a4046f5852c55970b7f6a10551b66c41
tree65b4d2350e469dd7b72823d9c84ca6a53838c0cd
parent4695ea0cd50d48bccc6e17cce037a2cc820245a9
task.ansible: use shutil.move instead of os.rename to move a failure log

When moving a file between file systems of different types os.rename will
throw an exception, while shutil.move correctly handles that case.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/task/ansible.py