--- a/src/ldt/ldt/__init__.py Tue Dec 04 13:56:29 2012 +0100
+++ b/src/ldt/ldt/__init__.py Tue Dec 04 15:55:48 2012 +0100
@@ -1,4 +1,4 @@
-VERSION = (1, 37, 0, "final", 0)
+VERSION = (1, 38, 0, "final", 0)
def get_version():
--- a/src/ldt/ldt/utils/__init__.py Tue Dec 04 13:56:29 2012 +0100
+++ b/src/ldt/ldt/utils/__init__.py Tue Dec 04 15:55:48 2012 +0100
@@ -3,5 +3,5 @@
def Property(func):
return property(**func())
-def generate_hash(str):
- return hashlib.sha512(str).hexdigest() if str is not None else None
+def generate_hash(str_hash):
+ return hashlib.sha512(str_hash).hexdigest() if str_hash is not None else None