summaryrefslogtreecommitdiffstats
path: root/src/software
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-11-26 09:43:44 +0100
committerMichal Minar <miminar@redhat.com>2013-11-26 09:44:13 +0100
commit4d87f52f06a080cdcd573e6061ddacbdcc908abc (patch)
tree4df4b8105db64bc9ba9453fdd2288426c3812ccf /src/software
parenta693e68d280d39d9a592892d22ea14d51fdccae9 (diff)
downloadopenlmi-providers-4d87f52f06a080cdcd573e6061ddacbdcc908abc.tar.gz
openlmi-providers-4d87f52f06a080cdcd573e6061ddacbdcc908abc.tar.xz
openlmi-providers-4d87f52f06a080cdcd573e6061ddacbdcc908abc.zip
software: fixed enumeration of service affected elements
Enumeration of LMI_SoftwareInstallationServiceAffectsElement did not work. Provider would hang indefinitely. Resolves: rhbz#1034615
Diffstat (limited to 'src/software')
-rw-r--r--src/software/lmi/software/LMI_SoftwareInstallationServiceAffectsElement.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/software/lmi/software/LMI_SoftwareInstallationServiceAffectsElement.py b/src/software/lmi/software/LMI_SoftwareInstallationServiceAffectsElement.py
index 61474b1..ddc9b32 100644
--- a/src/software/lmi/software/LMI_SoftwareInstallationServiceAffectsElement.py
+++ b/src/software/lmi/software/LMI_SoftwareInstallationServiceAffectsElement.py
@@ -143,9 +143,8 @@ class LMI_SoftwareInstallationServiceAffectsElement(CIMProvider2):
avail_model = util.new_instance_name("LMI_SoftwareIdentity")
for pkg_info in YumDB.get_instance().get_package_list('available'):
- model["AffectedElement"] = InstallationServiceAffectsElement. \
- fill_model_identity(model, pkg_info, keys_only=keys_only,
- identity_model=avail_model)
+ InstallationServiceAffectsElement.fill_model_identity(model,
+ pkg_info, keys_only=keys_only, identity_model=avail_model)
yield model
@cmpi_logging.trace_method