Repository :
http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
---------------------------------------------------------------
commit f18c93082f325bf951be6e4b7fe5253fd766c5d8
Author: Peter Hatina <phatina(a)redhat.com>
Date: Tue Aug 6 09:23:54 2013 +0200
code cleanup in LMIBaseClient
---------------------------------------------------------------
cli/lmi/shell/LMIBaseClient.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/cli/lmi/shell/LMIBaseClient.py b/cli/lmi/shell/LMIBaseClient.py
index 7d26b10..a8ecbcb 100644
--- a/cli/lmi/shell/LMIBaseClient.py
+++ b/cli/lmi/shell/LMIBaseClient.py
@@ -113,14 +113,14 @@ class LMIBaseClient(object):
except KeyError, e:
errorstr = "Can not filter by '%s'" % filter_key
lmi_raise_or_dump_exception(LMIFilterError(errorstr))
- return LMIReturnValue(rval = None, errorstr = errorstr)
+ return LMIReturnValue(rval=None, errorstr=errorstr)
except pywbem.cim_operations.CIMError, e:
lmi_raise_or_dump_exception(e)
- return LMIReturnValue(rval = None, errorstr = e.args[1])
+ return LMIReturnValue(rval=None, errorstr=e.args[1])
except pywbem.cim_http.AuthError, e:
lmi_raise_or_dump_exception(e)
- return LMIReturnValue(rval = None, errorstr = e.args[0])
- return LMIReturnValue(rval = inst_name_list)
+ return LMIReturnValue(rval=None, errorstr=e.args[0])
+ return LMIReturnValue(rval=inst_name_list)
def _get_instance(self, path, **kwargs):
"""
@@ -160,7 +160,7 @@ class LMIBaseClient(object):
except pywbem.cim_http.AuthError, e:
lmi_raise_or_dump_exception(e)
return LMIReturnValue(rval=None, errorstr=e.args[0])
- return LMIReturnValue(rval = inst)
+ return LMIReturnValue(rval=inst)
# NOTE: usage with Key=something, Value=something is deprecated
# NOTE: inst_filter is either None or dict