Merge lp:~blueyed/duplicity/path-enodev-bugfix into lp:duplicity/0.6

Proposed by Daniel Hahler
Status: Merged
Approved by: Kenneth Loafman
Approved revision: 691
Merge reported by: Kenneth Loafman
Merged at revision: not available
Proposed branch: lp:~blueyed/duplicity/path-enodev-bugfix
Merge into: lp:duplicity/0.6
Diff against target: 12 lines (+1/-1)
1 file modified
duplicity/path.py (+1/-1)
To merge this branch: bzr merge lp:~blueyed/duplicity/path-enodev-bugfix
Reviewer Review Type Date Requested Status
duplicity-team Pending
Review via email: mp+49438@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'duplicity/path.py'
2--- duplicity/path.py 2010-11-20 15:39:00 +0000
3+++ duplicity/path.py 2011-02-11 17:47:28 +0000
4@@ -491,7 +491,7 @@
5 self.stat = os.lstat(self.name)
6 except OSError, e:
7 err_string = errno.errorcode[e[0]]
8- if err_string == "ENOENT" or err_string == "ENOTDIR" or err_string == "ELOOP":
9+ if err_string in ["ENOENT", "ENOTDIR", "ELOOP", "ENODEV"]:
10 self.stat, self.type = None, None # file doesn't exist
11 self.mode = None
12 else:

Subscribers

People subscribed via source and target branches

to all changes: