Do not print message for already linked files

main
Buddy Sandidge 12 years ago
parent da6bd518bc
commit 6bfb56f221

@ -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…
Cancel
Save