Menu

Commit [r7384]  Maximize  Restore  History

Don't use the deprecated `md5` module starting with Python 2.5.

Added `md5` in the compat utilities.

Patch contributed by Remy Blank implementing a suggestion from eblot, following an initial patch from "mad"... and finally slightly modified by me (move the `hashlib` conditional import logic in `trac.util.compat`) ;-)

Closes #7458.

cboos 2008-07-23

changed /branches/0.11-stable/contrib/htdigest.py
changed /branches/0.11-stable/trac/ticket/notification.py
changed /branches/0.11-stable/trac/util/__init__.py
changed /branches/0.11-stable/trac/util/compat.py
changed /branches/0.11-stable/trac/web/api.py
changed /branches/0.11-stable/trac/web/auth.py
/branches/0.11-stable/contrib/htdigest.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/ticket/notification.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/util/__init__.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/util/compat.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/web/api.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/web/auth.py Diff Switch to side-by-side view
Loading...