Cleaning up pep8 violations
This commit is contained in:
@@ -6,11 +6,13 @@ from django.utils.encoding import smart_str
|
||||
import hashlib
|
||||
import urllib
|
||||
|
||||
|
||||
def fasthash(string):
|
||||
m = hashlib.new("md4")
|
||||
m.update(string)
|
||||
return m.hexdigest()
|
||||
|
||||
|
||||
def safe_key(key, key_prefix, version):
|
||||
safe_key = urllib.quote_plus(smart_str(key))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user