File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 12
12
from base64 import urlsafe_b64encode , urlsafe_b64decode
13
13
from binascii import Error as B64Error
14
14
15
+ # Standard Linux error messages as also defined in cs3client.exceptions
15
16
16
- # standard file missing message
17
+ # file missing message
17
18
ENOENT_MSG = 'No such file or directory'
18
19
19
- # standard error thrown when attempting to overwrite a file/xattr in O_EXCL mode
20
+ # error thrown when attempting to overwrite a file/xattr in O_EXCL mode
20
21
# or when a lock operation cannot be performed because of failed preconditions
21
- EXCL_ERROR = 'File/xattr exists but EXCL mode requested, lock mismatch or lock expired '
22
+ EXCL_ERROR = 'Lock mismatch'
22
23
23
- # standard error thrown when attempting an operation without the required access rights
24
+ # attempt an operation without the required access rights
24
25
ACCESS_ERROR = 'Operation not permitted'
25
26
26
27
# name of the xattr storing the Reva lock
You can’t perform that action at this time.
0 commit comments