Reviewed: https://review.opendev.org/680494 Committed: https://git.openstack.org/cgit/openstack/charm-rabbitmq-server/commit/?id=fb1b4bec0ff838e4af15058ae015e5ee6842c12a Submitter: Zuul Branch: master
commit fb1b4bec0ff838e4af15058ae015e5ee6842c12a Author: David Ames <email address hidden> Date: Thu Sep 5 12:05:00 2019 -0700
Use shutil.move rather than os.rename
When the source and destination file paths are not on the same partition os.rename raises OSError: [Errno 18] Invalid cross-device link.
Use shutil.move instead.
Change-Id: I28d6cb6c15a4496243fab7ec6c7eedcd1422f4c2 Closes-Bug: #1833804
Reviewed: https:/ /review. opendev. org/680494 /git.openstack. org/cgit/ openstack/ charm-rabbitmq- server/ commit/ ?id=fb1b4bec0ff 838e4af15058ae0 15e5ee6842c12a
Committed: https:/
Submitter: Zuul
Branch: master
commit fb1b4bec0ff838e 4af15058ae015e5 ee6842c12a
Author: David Ames <email address hidden>
Date: Thu Sep 5 12:05:00 2019 -0700
Use shutil.move rather than os.rename
When the source and destination file paths are not on the same partition
os.rename raises OSError: [Errno 18] Invalid cross-device link.
Use shutil.move instead.
Change-Id: I28d6cb6c15a449 6243fab7ec6c7ee dcd1422f4c2
Closes-Bug: #1833804