def f(x): p = self._join(x) if os.path.islink(p): return 'l' if util.isexec(p): return 'x' return ''
def f(x): if 'l' in fallback(x): return 'l' if util.isexec(self._join(x)): return 'x' return ''