summaryrefslogtreecommitdiffstats
path: root/src/software/openlmi/software/LMI_ResourceForSoftwareIdentity.py
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-03-21 16:41:18 +0100
committerMichal Minar <miminar@redhat.com>2013-03-21 18:07:08 +0100
commit1c9627272440844c726052dc53900ecfe544d598 (patch)
tree23c1d9fe487998cc06e47cb4314cba87b186ff69 /src/software/openlmi/software/LMI_ResourceForSoftwareIdentity.py
parentc110c6309306b3208eb1c3dabfb0d9d860d06b9a (diff)
downloadopenlmi-providers-1c9627272440844c726052dc53900ecfe544d598.tar.gz
openlmi-providers-1c9627272440844c726052dc53900ecfe544d598.tar.xz
openlmi-providers-1c9627272440844c726052dc53900ecfe544d598.zip
various enhancements
consistent access to Package's version and release attributes - all 'ver' and 'rel' replaced to full names added tracing decorators to some functions providers having Values class under core subpackage now reference it with self.values property Identity.pkg2model now accepts also nevra as string removed tabs in source code
Diffstat (limited to 'src/software/openlmi/software/LMI_ResourceForSoftwareIdentity.py')
-rw-r--r--src/software/openlmi/software/LMI_ResourceForSoftwareIdentity.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/software/openlmi/software/LMI_ResourceForSoftwareIdentity.py b/src/software/openlmi/software/LMI_ResourceForSoftwareIdentity.py
index e7815a7..42ef7dc 100644
--- a/src/software/openlmi/software/LMI_ResourceForSoftwareIdentity.py
+++ b/src/software/openlmi/software/LMI_ResourceForSoftwareIdentity.py
@@ -122,9 +122,9 @@ class LMI_ResourceForSoftwareIdentity(CIMProvider2):
repoid = model["AvailableSAP"]["Name"]
pkg_info = Identity.object_path2pkg(
model["ManagedElement"],
- kind='available',
- include_repos=repoid,
- exclude_repos='*',
+ kind='available',
+ include_repos=repoid,
+ exclude_repos='*',
repoid=repoid)
repos = ydb.filter_repositories('all', repoid=repoid)
if len(repos) < 1: