1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 17:53:52 +00:00

downgrade logging for #44

This commit is contained in:
deadc0de6
2018-06-07 07:54:04 +02:00
parent 15391d9cad
commit d9aaefa350

View File

@@ -43,7 +43,7 @@ class Installer:
dst = os.path.join(self.base, os.path.expanduser(dst))
if os.path.exists(dst):
if os.path.realpath(dst) == os.path.realpath(src):
self.log.sub('ignoring "{}", link exists'.format(dst))
self.log.dbg('ignoring "{}", link exists'.format(dst))
return []
if self.dry:
self.log.dry('would remove {} and link to {}'.format(dst, src))