Do not print message for already linked files
This commit is contained in:
parent
da6bd518bc
commit
6bfb56f221
3
autolink
3
autolink
@ -47,8 +47,7 @@ def main():
|
|||||||
if os.path.exists(config_path):
|
if os.path.exists(config_path):
|
||||||
if os.path.islink(config_path):
|
if os.path.islink(config_path):
|
||||||
if os.path.realpath(config_path) != file_path:
|
if os.path.realpath(config_path) != file_path:
|
||||||
log(config_path, ("already a link '%s'" %
|
pass
|
||||||
os.path.realpath(config_path)))
|
|
||||||
elif os.path.isfile(config_path):
|
elif os.path.isfile(config_path):
|
||||||
log(config_path, 'existing file, consider merge')
|
log(config_path, 'existing file, consider merge')
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user