[django/django] 990f8d: Fixed #20599 -- Changed wording of ValueError rais...

1 view
Skip to first unread message

GitHub

unread,
Jun 15, 2013, 4:51:07 AM6/15/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 990f8d92dca913462f656387b012801f01c96244
https://github.com/django/django/commit/990f8d92dca913462f656387b012801f01c96244
Author: Jaap Roes <ja...@eight.nl>
Date: 2013-06-15 (Sat, 15 Jun 2013)

Changed paths:
M django/contrib/auth/hashers.py
M django/contrib/auth/tests/test_hashers.py

Log Message:
-----------
Fixed #20599 -- Changed wording of ValueError raised by _load_library

The _load_library method on BasePasswordHasher turns ImportErrors
into ValueErrors, this masks ImportErrors in the algorithm library.
Changed it to a clearer worded error message that includes
the ImportError string.



Reply all
Reply to author
Forward
0 new messages