File python2.6.patch of Package open-ovf
Index: open-ovf-0.1/py/ovf/Ovf.py
===================================================================
--- open-ovf-0.1.orig/py/ovf/Ovf.py
+++ open-ovf-0.1/py/ovf/Ovf.py
@@ -16,7 +16,7 @@ Module for interfacing to an OVF and XML
"""
import os
-import sha
+import hashlib
from xml.dom import Node
def createTextDescriptionOfNodeList(nodeList):
@@ -589,7 +589,7 @@ def sha1sumFile(path):
else:
fd = path
- digested = sha.new()
+ digested = hashlib.sha1()
while 1:
buf = fd.read(4096)
if buf == "":