Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Issue 92159: Work around for md5 module deprecation warning in python 2.5+ (Closed)

Created:
11 years, 8 months ago by SkyLined
Modified:
9 years, 5 months ago
Reviewers:
jam
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

If you have python 2.5+ installed, a deprecation warning for the md5 module is displayed whenever upload.py is used. This change forces the code to use hashlib when it is available (python 2.5+) and prevents the warning. This has been replaced by http://codereview.chromium.org/99235

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M static/upload.py View 1 3 chunks +15 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
SkyLined
If you have python 2.5+ installed, a deprecation warning for the md5 module is displayed ...
11 years, 8 months ago (2009-04-24 21:24:09 UTC) #1
jam
11 years, 8 months ago (2009-04-24 21:30:02 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698