summaryrefslogtreecommitdiff
path: root/fs/path.py
diff options
context:
space:
mode:
authorbtimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f>2012-04-20 20:17:08 +0000
committerbtimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f>2012-04-20 20:17:08 +0000
commit8c66ea7847d6ab44ca27e69b3b04f25315550c00 (patch)
tree6621aa092a461759fdf2342e1b28061007f7f8b1 /fs/path.py
parentd25809eea4aec310f4efeea1e85a3ce13e031969 (diff)
downloadpyfilesystem-8c66ea7847d6ab44ca27e69b3b04f25315550c00.tar.gz
Don't derive BackReferenceError from FSError. See comments on r773.
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@779 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/path.py')
-rw-r--r--fs/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/path.py b/fs/path.py
index ebb7fcc..36446b1 100644
--- a/fs/path.py
+++ b/fs/path.py
@@ -60,7 +60,7 @@ def normpath(path):
# Imported here because errors imports this module (path),
# causing a circular import.
from fs.errors import BackReferenceError
- BackReferenceError(details={ 'path': path })
+ BackReferenceError('Too many backrefs in \'%s\'' % path)
if path[0] == '/':
return '/%s' % '/'.join(components)
return '/'.join(components)