small variable correction and update version V01.38
authorymh <ymh.work@gmail.com>
Tue, 04 Dec 2012 15:55:48 +0100
changeset 1015 5a9f718115d3
parent 1014 4e3edc45a890
child 1016 7bdf9bc8d9bf
small variable correction and update version
src/ldt/ldt/__init__.py
src/ldt/ldt/utils/__init__.py
--- 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