changeset 2:04f5ad537f36

use sha1 instead of sha512
author Atul Varma <avarma@mozilla.com>
date Mon, 12 Apr 2010 23:43:02 -0700
parents aca76355e4d8
children 85016bf54034
files bugzilla
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bugzilla	Mon Apr 12 23:41:13 2010 -0700
+++ b/bugzilla	Mon Apr 12 23:43:02 2010 -0700
@@ -45,7 +45,7 @@
             'body': data}
 
 def make_caching_json_request(cachedir, json_request=json_request):
-    from hashlib import sha512 as hashfunc
+    from hashlib import sha1 as hashfunc
 
     def caching_json_request(method, url, query_args=None, body=None):
         key = repr((method, url, query_args, body))