summaryrefslogtreecommitdiff
path: root/fs/path.py
diff options
context:
space:
mode:
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)