summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-05-10 16:09:59 +0200
committerMichal Minar <miminar@redhat.com>2013-05-10 16:17:46 +0200
commit8e570d50e40470a9a8774924b065451d925fac22 (patch)
treec495b455ad28ad5f76a793091858ac40f488284d
parent607b37a81d8c9ecb1d2b478659e0ef433c4c97ae (diff)
downloadopenlmi-providers-8e570d50e40470a9a8774924b065451d925fac22.tar.gz
openlmi-providers-8e570d50e40470a9a8774924b065451d925fac22.tar.xz
openlmi-providers-8e570d50e40470a9a8774924b065451d925fac22.zip
fixed GetInstance on AffectedSoftwareJobElement
passed wrong parameter to function, when handling association to Linux_ComputerSystem
-rw-r--r--src/software/openlmi/software/LMI_AffectedSoftwareJobElement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/software/openlmi/software/LMI_AffectedSoftwareJobElement.py b/src/software/openlmi/software/LMI_AffectedSoftwareJobElement.py
index 601b1c3..33c0522 100644
--- a/src/software/openlmi/software/LMI_AffectedSoftwareJobElement.py
+++ b/src/software/openlmi/software/LMI_AffectedSoftwareJobElement.py
@@ -83,7 +83,7 @@ class LMI_AffectedSoftwareJobElement(CIMProvider2):
elif ch.is_subclass(affected.namespace,
sub=affected.classname, super='Linux_ComputerSystem'):
AffectedSoftwareJobElement.fill_model_computer_system(
- model, env, keys_only=False)
+ model, job, keys_only=False)
elif ch.is_subclass(affected.namespace,
sub=affected.classname, super='LMI_SystemSoftwareCollection'):