# HG changeset patch # User ymh # Date 1354632948 -3600 # Node ID 5a9f718115d38140a9dcd4ba8d650a1de13f6aa0 # Parent 4e3edc45a890fedc7420c56cff60dca594bf3356 small variable correction and update version diff -r 4e3edc45a890 -r 5a9f718115d3 src/ldt/ldt/__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(): diff -r 4e3edc45a890 -r 5a9f718115d3 src/ldt/ldt/utils/__init__.py --- 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