summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-04-11 13:39:43 +0200
committerMichal Minar <miminar@redhat.com>2013-04-26 10:18:17 +0200
commit59e8bf604c382b9269b4448f10223de631b40036 (patch)
tree38ebb258874819c0ab48db7c332cc3d872e19fa3
parent9e1db917fa4ac56b56343a796c41f3213f53a2af (diff)
downloadopenlmi-providers-59e8bf604c382b9269b4448f10223de631b40036.tar.gz
openlmi-providers-59e8bf604c382b9269b4448f10223de631b40036.tar.xz
openlmi-providers-59e8bf604c382b9269b4448f10223de631b40036.zip
fixed error handling upon method params check
-rw-r--r--src/software/openlmi/software/core/InstallationService.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/software/openlmi/software/core/InstallationService.py b/src/software/openlmi/software/core/InstallationService.py
index acc7ca6..77bfbad 100644
--- a/src/software/openlmi/software/core/InstallationService.py
+++ b/src/software/openlmi/software/core/InstallationService.py
@@ -605,7 +605,7 @@ def _check_target_and_collection(env, src_type, target, collection):
except pywbem.CIMError as exc:
raise InstallationError(values.Unspecified_Error,
"Target must be either NULL or match managed"
- " computer system: %s", str(exc))
+ " computer system: %s" % str(exc))
if collection:
try:
SystemCollection.check_path(env, collection, "Collection")