Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into pickleable-errors
  • Loading branch information
willmcgugan authored Jul 24, 2018
commit 4e30b4da03ed641dc1fc57bf2993447c7d0a0f26
8 changes: 4 additions & 4 deletions fs/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def new_func(*args, **kwargs):
def __reduce__(self):
return type(self), (self._msg, self.exc)


class PathError(FSError):
"""Base exception for errors to do with a path string.
"""
Expand Down Expand Up @@ -359,10 +359,10 @@ class IllegalBackReference(ValueError):
def __init__(self, path):
# type: (Text) -> None
self.path = path
_msg = \
msg = (
"path '{path}' contains back-references outside of filesystem"
_msg = _msg.format(path=path)
super(IllegalBackReference, self).__init__(_msg)
).format(path=path)
super(IllegalBackReference, self).__init__(msg)

def __reduce__(self):
return type(self), (self.path,)
You are viewing a condensed version of this merge commit. You can view the full changes here.