This will make it easier to move away from md5 for the source tarballs. It shouldn't cause any problem anyway, as Fedora runs this on EL 6. --- scripts/upload.cgi/upload.cgi | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/upload.cgi/upload.cgi b/scripts/upload.cgi/upload.cgi index 70320f9..a43cc6e 100644 --- a/scripts/upload.cgi/upload.cgi +++ b/scripts/upload.cgi/upload.cgi @@ -21,12 +21,8 @@ try: except ImportError: from email.MIMEText import MIMEText -try: - import hashlib - md5_constructor = hashlib.md5 -except ImportError: - import md5 - md5_constructor = md5.new +import hashlib +md5_constructor = hashlib.md5 # Reading buffer size BUFFER_SIZE = 4096 -- 1.8.5.3 _______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure