diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-07-31 14:40:53 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-07-31 15:00:21 -0700 |
commit | b0c535b7310e7724d8feb0570b827d38c5d17fc3 (patch) | |
tree | 98a234b4c6dee299dab8a116237900239e2cc409 /bin | |
parent | Fix R1705. (diff) | |
download | portage-b0c535b7310e7724d8feb0570b827d38c5d17fc3.tar.gz portage-b0c535b7310e7724d8feb0570b827d38c5d17fc3.tar.bz2 portage-b0c535b7310e7724d8feb0570b827d38c5d17fc3.zip |
HardlinkRcuRepoStorage: handle removed sync-rcu-store-dir (bug 734990)
If SyncManager.pre_sync creates an empty directory where
self._latest_symlink is suppose to be (which is normal if
sync-rcu-store-dir has been removed), then we need to remove
the directory or else rename will raise IsADirectoryError
when we try to replace the directory with a symlink.
Bug: https://bugs.gentoo.org/734990
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions