summaryrefslogtreecommitdiffstats
path: root/src/yum/providers/LMI_YumFileCheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/yum/providers/LMI_YumFileCheck.py')
-rw-r--r--src/yum/providers/LMI_YumFileCheck.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yum/providers/LMI_YumFileCheck.py b/src/yum/providers/LMI_YumFileCheck.py
index 7b11af9..9e6e8d1 100644
--- a/src/yum/providers/LMI_YumFileCheck.py
+++ b/src/yum/providers/LMI_YumFileCheck.py
@@ -212,8 +212,7 @@ class LMI_YumFileCheck(CIMProvider2):
with YumDB.getInstance(env) as yb:
vpkg = YumFileCheck.object_path2yumcheck(env, object_name)
fc = YumFileCheck.test_file(env,
- YumFileCheck.checksumtype_str2pywbem(
- YumFileCheck.pkg_checksum_type(vpkg.po)),
+ YumFileCheck.pkg_checksum_type(vpkg.po),
vpkg._files[object_name["Name"]])
out_params = []
ret = 0 if YumFileCheck.filecheck_passed(fc) else 2