Signed-off-by: Plamen Dimitrov <[email protected]>
---
 client/virt/ppm_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/virt/ppm_utils.py b/client/virt/ppm_utils.py
index 7fa1b71..4c306a8 100644
--- a/client/virt/ppm_utils.py
+++ b/client/virt/ppm_utils.py
@@ -21,7 +21,7 @@ def md5eval(data):
     @param data: Optional input string that will be used to update the object.
     """
     try:
-        hsh = hashlib.new(type)
+        hsh = hashlib.new('md5')
     except NameError:
         hsh = md5.new()
     if data:
-- 
1.7.11.4

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to