svn path=/main/branches/2.1.2/; revision=7810
self._eclass_locations = {}
eclass_len = len(".eclass")
for x in [normalize_path(os.path.join(y,"eclass")) for y in self.porttrees]:
- if not os.path.isdir(x):
- continue
eclass_filenames = []
try:
for y in os.listdir(x):
if e.errno == errno.ENOENT:
del e
continue
+ elif e.errno == errno.ENOTDIR:
+ del e
+ continue
elif e.errno == PermissionDenied.errno:
raise PermissionDenied(x)
raise