Beispiel #1
0
 def isExecutable(self):
     """  return true  if  a file  is  create()'ed with  executable
     permissions,  i.e. the  permissions of  the  existing 'source'
     file are checked"""
     return self.executable or is_executable(expandfilename(self.name))
Beispiel #2
0
 def isExecutable(self):
     """  return true  if  a file  is  create()'ed with  executable
     permissions,  i.e. the  permissions of  the  existing 'source'
     file are checked"""
     return self.executable or is_executable(expandfilename(self.name))