duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #00483
[Merge] lp:~blueyed/duplicity/path-enodev-bugfix into lp:duplicity
Daniel Hahler has proposed merging lp:~blueyed/duplicity/path-enodev-bugfix into lp:duplicity.
Requested reviews:
duplicity-team (duplicity-team)
For more details, see:
https://code.launchpad.net/~blueyed/duplicity/path-enodev-bugfix/+merge/49438
--
https://code.launchpad.net/~blueyed/duplicity/path-enodev-bugfix/+merge/49438
Your team duplicity-team is requested to review the proposed merge of lp:~blueyed/duplicity/path-enodev-bugfix into lp:duplicity.
=== modified file 'duplicity/path.py'
--- duplicity/path.py 2010-11-20 15:39:00 +0000
+++ duplicity/path.py 2011-02-11 17:47:11 +0000
@@ -491,7 +491,7 @@
self.stat = os.lstat(self.name)
except OSError, e:
err_string = errno.errorcode[e[0]]
- if err_string == "ENOENT" or err_string == "ENOTDIR" or err_string == "ELOOP":
+ if err_string in ["ENOENT", "ENOTDIR", "ELOOP", "ENODEV"]:
self.stat, self.type = None, None # file doesn't exist
self.mode = None
else:
Follow ups