39
39
# RPathException, Rdiff.RdiffException,
40
40
# librsync.librsyncError, C.UnknownFileTypeError), exc:
42
except (IOError, EnvironmentError, librsync.librsyncError, path.PathException), exc:
42
except (IOError, EnvironmentError, librsync.librsyncError, path.PathException) as exc:
43
43
if (not isinstance(exc, EnvironmentError) or
44
44
((exc[0] in errno.errorcode)
45
45
and errno.errorcode[exc[0]] in