Skip to content

Commit

Permalink
Fix another python3-specific flake.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Nov 3, 2018
1 parent 20f2f2a commit cc07f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isso/utils/hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

def pbkdf2(val, salt, iterations, dklen, func):
return _pbkdf2(val, salt, iterations, dklen, ("hmac-" + func).encode("utf-8"))
except ImportError as ex:
except ImportError:
raise ImportError("No PBKDF2 implementation found. Either upgrade "
"to `werkzeug` 0.9 or install `passlib`.")

Expand Down

0 comments on commit cc07f0b

Please sign in to comment.