示例#1
0
文件: File.py 项目: MannyMoo/ganga
 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))
示例#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))