File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
77
8+ ## [ 2.2.2] - Unreleased
9+
10+ ### Fixed
11+
12+ - IllegalBackReference had mangled error message
13+
814## [ 2.2.1] - 2018-01-06
915
1016### Fixed
Original file line number Diff line number Diff line change 11"""Version, used in module and setup.py.
22"""
3- __version__ = "2.2.1 "
3+ __version__ = "2.2.2a0 "
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def normpath(path):
6666 >>> normpath("foo/../../bar")
6767 Traceback (most recent call last)
6868 ...
69- IllegalBackReference: Too many backrefs in 'foo/../../bar'
69+ IllegalBackReference: path 'foo/../../bar' contains back-references outside of filesystem"
7070
7171 """
7272 if path in "/" :
@@ -86,7 +86,7 @@ def normpath(path):
8686 else :
8787 components .append (component )
8888 except IndexError :
89- raise IllegalBackReference ("Too many backrefs in '{}'" . format ( path ) )
89+ raise IllegalBackReference (path )
9090 return prefix + "/" .join (components )
9191
9292
You can’t perform that action at this time.
0 commit comments