Commit d659ea24 authored by owsla's avatar owsla

Add ETIMEDOUT to the list of recoverable errors


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@970 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 65daa089
New in v1.2.3 (????/??/??)
---------------------------
Supress warnings about the deprecated sha module in Python 2.6. We'll remove
Add ETIMEDOUT to the list of recoverable errors; when irrecoverable, a
ConnectionError is raised. Closes Ubuntu bug #304659. (Andrew Ferguson)
Suppress warnings about the deprecated sha module in Python 2.6. We'll remove
this after rdiff-backup is ported to Python 3. (Patch from Josh Nisly)
Test for symlink permissions now produces a functioning symlink. Thanks to
......
......@@ -56,7 +56,7 @@ def catch_error(exc):
'ENAMETOOLONG', 'EINTR', 'ESTALE',
'ENOTEMPTY', 'EIO', 'ETXTBSY',
'ESRCH', 'EINVAL', 'EDEADLOCK',
'EDEADLK', 'EOPNOTSUPP'))):
'EDEADLK', 'EOPNOTSUPP', 'ETIMEDOUT'))):
return 1
return 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment