Ticket #14715: helpful_value_error.patch
File helpful_value_error.patch, 638 bytes (added by , 14 years ago) |
---|
-
django/utils/_os.py
41 41 # equal to base_path). 42 42 if not final_path.startswith(base_path) \ 43 43 or final_path[base_path_len:base_path_len+1] not in ('', sep): 44 raise ValueError('the joined path is located outside of the base path'45 ' component ')44 raise ValueError('the joined path (%s) is located outside of the base path' 45 ' component (%s)' % (final_path, base_path)) 46 46 return final_path