Permalink
Browse files

patch for py 2.4 VMM nodes to get the right sha

  • Loading branch information...
1 parent be968e3 commit 15d9fe20a3c9ba3990a994796da26d2d1dcd6f19 @buzztroll buzztroll committed Nov 30, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 lantorrent/pylantorrent/__init__.py
@@ -10,7 +10,9 @@
try:
from hashlib import sha1 as sha
from hashlib import sha256 as sha256
-except ImportError:
+
+ sha.new()
+except:
import sha
import base64
import uuid

0 comments on commit 15d9fe2

Please sign in to comment.