svn path=/main/trunk/; revision=2883
if stat.S_ISDIR(pathstat[stat.ST_MODE]):
mtime = pathstat[stat.ST_MTIME]
else:
- raise Exception
- except SystemExit, e:
- raise
- except:
+ raise portage_exception.PortageException
+ except (IOError,OSError,portage_exception.PortageException):
if EmptyOnError:
return [], []
return None, None
ftype.append(2)
else:
ftype.append(3)
- except SystemExit, e:
- raise
- except:
+ except (IOError, OSError):
ftype.append(3)
dircache[mypath] = mtime, list, ftype