in scancode/scanCode.py [0:0]
def is_not_symlink(path): """Assert a file is not a symbolic link.""" if os.path.islink(path): return [(0, ERR_SYMBOLIC_LINK)] else: return None