Skip to content

Commit

Permalink
added permissiondenied error
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Aug 13, 2017
1 parent 9ef812b commit 7ff0f60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/error_tools.py
Expand Up @@ -19,6 +19,7 @@ class _ConvertOSErrors(object):

FILE_ERRORS = {
64: errors.RemoteConnectionError, # ENONET
errno.EACCES: errors.PermissionDenied,
errno.ENOENT: errors.ResourceNotFound,
errno.EFAULT: errors.ResourceNotFound,
errno.ESRCH: errors.ResourceNotFound,
Expand Down

0 comments on commit 7ff0f60

Please sign in to comment.