##// END OF EJS Templates
pytest: use hmac.new instead of hmac.HMAC...
pytest: use hmac.new instead of hmac.HMAC According to documentation, hmac.new is the way to create a HMAC object ... and the first argument is mandaatory and we don't want to name it. This has no functional change but will address a pytype warning: File "kallithea/model/user.py", line 304, in get_reset_password_token: Invalid keyword arguments (digestmod, key, msg) to function HMAC.__init__ [wrong-keyword-args]
Mads Kiilerich -
r8381:11ab74b7 default
Show More
Name Size Modified Last Commit Author
/ docs
administrator_guide
api
dev
theme
usage
Makefile Loading ...
conf.py Loading ...
contributing.rst Loading ...
index.rst Loading ...
installation.rst Loading ...
installation_iis.rst Loading ...
installation_puppet.rst Loading ...
installation_win.rst Loading ...
installation_win_old.rst Loading ...
make.bat Loading ...
overview.rst Loading ...
readme.rst Loading ...
setup.rst Loading ...
upgrade.rst Loading ...