Changeset 150
- Timestamp:
- 08/20/08 00:32:52 (16 years ago)
- Files:
-
- trunk/source/pyhesiodfs/pyHesiodFS.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/source/pyhesiodfs/pyHesiodFS.py
r144 r150 95 95 return self.mounts[name] 96 96 else: 97 filsys = hesiod.FilsysLookup(name) 97 try: 98 filsys = hesiod.FilsysLookup(name) 99 except IOError, e: 100 if e.errno in (errno.ENOENT, errno.EMSGSIZE): 101 raise IOError(errno.ENOENT, os.strerror(errno.ENOENT)) 102 else: 103 raise IOError(errno.EIO, os.strerror(errno.EIO)) 98 104 # FIXME check if the first locker is valid 99 105 if len(filsys.filsys) >= 1: