Remove symlink if exists 70/9370/1
authorbeierlm <mark.beierl@canonical.com>
Wed, 8 Jul 2020 20:32:50 +0000 (16:32 -0400)
committerbeierlm <mark.beierl@canonical.com>
Wed, 8 Jul 2020 20:32:50 +0000 (16:32 -0400)
commit6d72d5cfb6f75c62402d493fdc2d81797cd48081
tree5aad96bdf90a4ebf699417c608b1736e4194eb9d
parent366f1198b3da1cd21a8933f73e3efd15313f1ef9
Remove symlink if exists

On sync, if the symlink already exists, an exception would
be thrown.  This change removes the file if it already
exists.

Bug 1132

Change-Id: I151a96adcac5d7cd51b84c2770f498a78d7d68be
Signed-off-by: beierlm <mark.beierl@canonical.com>
osm_common/fsmongo.py