summaryrefslogtreecommitdiffstats
path: root/src/software/lmi/software/core/IdentityFileCheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/software/lmi/software/core/IdentityFileCheck.py')
-rw-r--r--src/software/lmi/software/core/IdentityFileCheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/software/lmi/software/core/IdentityFileCheck.py b/src/software/lmi/software/core/IdentityFileCheck.py
index 8453475..c3ca7f0 100644
--- a/src/software/lmi/software/core/IdentityFileCheck.py
+++ b/src/software/lmi/software/core/IdentityFileCheck.py
@@ -952,9 +952,9 @@ def file_check2model(file_check, keys_only=True, model=None, job=None):
if not keys_only:
model.path.update( #pylint: disable=E1103
- {k: None for k in ("Name", "SoftwareElementID",
+ dict((k, None) for k in ("Name", "SoftwareElementID",
"SoftwareElementState", "TargetOperatingSystem", "Version",
- "CheckID")})
+ "CheckID")))
model['Name'] = file_check.path
model['SoftwareElementID'] = file_check.pkg_info.nevra