Commit e3686e99 authored by bescoto's avatar bescoto

Added EDEADLK to recoverable errors


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@557 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 2798d445
......@@ -51,9 +51,11 @@ def catch_error(exc):
(exc[0] == 'invalid mode: rb' or
errno.errorcode.has_key(exc[0]) and
errno.errorcode[exc[0]] in ('EPERM', 'ENOENT', 'EACCES', 'EBUSY',
'EEXIST', 'ENOTDIR', 'ENAMETOOLONG',
'EINTR', 'ENOTEMPTY', 'EIO', 'ETXTBSY',
'ESRCH', 'EINVAL', 'EDEADLOCK'))):
'EEXIST', 'ENOTDIR',
'ENAMETOOLONG', 'EINTR',
'ENOTEMPTY', 'EIO', 'ETXTBSY',
'ESRCH', 'EINVAL', 'EDEADLOCK',
'EDEADLK'))):
return 1
return 0
......
......@@ -51,9 +51,11 @@ def catch_error(exc):
(exc[0] == 'invalid mode: rb' or
errno.errorcode.has_key(exc[0]) and
errno.errorcode[exc[0]] in ('EPERM', 'ENOENT', 'EACCES', 'EBUSY',
'EEXIST', 'ENOTDIR', 'ENAMETOOLONG',
'EINTR', 'ENOTEMPTY', 'EIO', 'ETXTBSY',
'ESRCH', 'EINVAL', 'EDEADLOCK'))):
'EEXIST', 'ENOTDIR',
'ENAMETOOLONG', 'EINTR',
'ENOTEMPTY', 'EIO', 'ETXTBSY',
'ESRCH', 'EINVAL', 'EDEADLOCK',
'EDEADLK'))):
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