Skip to content

Fixed #20599 -- Changed wording of ValueError raised by _load_library #1274

Closed
wants to merge 1 commit into from

2 participants

@jaap3
jaap3 commented Jun 14, 2013

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.

Jaap Roes 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.
f1df663
@claudep
Django member
claudep commented Jun 15, 2013

Thanks. The patch has some little problems with Python 3.2. I'll fix them and commit soon.

@claudep claudep closed this Jun 15, 2013
@jaap3 jaap3 deleted the jaap3:ticket-20599 branch Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.