You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, it should use the hashlib module. md5 has been deprecated since Python 2.5. However, it seems like the else branch in _badge_return is unused. _badge_return used by the project_badge view which passes redirect=True by default. I will open a pull request to simply it.
I'm playing with python3 conversion, and came across the following :
I see that here the Etag is set to a
md5.new(url)
object. Shouldn't it be themd5.new(url).hexdigest()
? Or does django do some magic ?Thanks.
The text was updated successfully, but these errors were encountered: