summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwillmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f>2012-08-07 20:16:41 +0000
committerwillmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f>2012-08-07 20:16:41 +0000
commit0df00f54f45636d3cd191c1008e1cb21d07f2af4 (patch)
treebc6ab2f58408f27c15ba000ea8266de943e8b503
parent32692d6b1f0b9ef8ae39a8b2a6c6105898d15d51 (diff)
downloadpyfilesystem-0df00f54f45636d3cd191c1008e1cb21d07f2af4.tar.gz
Fixed backref exception
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@797 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r--fs/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/path.py b/fs/path.py
index 36446b1..a22a529 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('Too many backrefs in \'%s\'' % path)
+ raise BackReferenceError('Too many backrefs in \'%s\'' % path)
if path[0] == '/':
return '/%s' % '/'.join(components)
return '/'.join(components)