def __str__(self):
return self.path + " : " + self.de.getName()
- def _isexecfile(path):
+ def _isexecfile(self, path):
return os.access(path, os.X_OK)
def _findFile(self, path, search, match_func):
if path[0] == '/':
if match_func(path): return path
else: return None
+ else:
# check relative path
for dirname in search.split(os.pathsep):
if dirname != "":
self._alert("Excluded by: OnlyShowIn (" + s + ")")
if default and noshow and not force:
s = ""
- for i in self.de.getOnlyShowIn():
+ for i in self.de.getNotShowIn():
if s: s += ", "
s += i
self._alert("Excluded by: NotShowIn (" + s + ")")