def f(x):
     try:
         st = os.lstat(self._join(x))
         if util.statislink(st):
             return 'l'
         if util.statisexec(st):
             return 'x'
     except OSError:
         pass
     return ''
Esempio n. 2
0
 def f(x):
     try:
         st = os.lstat(self._join(x))
         if util.statislink(st):
             return 'l'
         if util.statisexec(st):
             return 'x'
     except OSError:
         pass
     return ''