diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-21 23:25:47 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-21 23:25:47 +0000 |
commit | 48c85c6792ed001c8063fec21dfd2794c32dcd28 (patch) | |
tree | 91d28a549e15e48681266b2e8a6c2cc88db10516 /rdiff-backup/src/robust.py | |
parent | 55669110eec45e22249537d3195799cf5945ad23 (diff) | |
download | rdiff-backup-48c85c6792ed001c8063fec21dfd2794c32dcd28.tar.gz |
Fixed source finalizer resume bug (although more remains to be done)
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@95 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/src/robust.py')
-rw-r--r-- | rdiff-backup/src/robust.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rdiff-backup/src/robust.py b/rdiff-backup/src/robust.py index e92a701..b38e792 100644 --- a/rdiff-backup/src/robust.py +++ b/rdiff-backup/src/robust.py @@ -200,8 +200,7 @@ class Robust: """ try: return init_thunk() except (EnvironmentError, SkipFileException, DSRPPermError, - RPathException), exc: - Log.exception() + RPathException, RdiffException), exc: if (not isinstance(exc, EnvironmentError) or (errno.errorcode[exc[0]] in ['EPERM', 'ENOENT', 'EACCES', 'EBUSY', 'EEXIST', @@ -209,8 +208,11 @@ class Robust: 'EIO', # reported by docv 'ETXTBSY' # reported by Campbell on some NT system ])): + Log.exception() return error_thunk(exc) - else: raise + else: + Log.exception(1, 2) + raise def listrp(rp): """Like rp.listdir() but return [] if error, and sort results""" |