summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2015-08-14 09:10:18 +0200
committerLénaïc Huard <lhuard@amadeus.com>2015-08-14 09:10:18 +0200
commit7c45c23b6769779393e2bdf1d17f9e605a55d300 (patch)
tree963cd68b7b23a924187d8737468fe528fd8891fc
parentcd989f62709db9f858205420869b9a665cc609a1 (diff)
downloadopenshift-7c45c23b6769779393e2bdf1d17f9e605a55d300.tar.gz
openshift-7c45c23b6769779393e2bdf1d17f9e605a55d300.tar.bz2
openshift-7c45c23b6769779393e2bdf1d17f9e605a55d300.tar.xz
openshift-7c45c23b6769779393e2bdf1d17f9e605a55d300.zip
Fix pylint errors on oo_filters.py
-rw-r--r--filter_plugins/oo_filters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter_plugins/oo_filters.py b/filter_plugins/oo_filters.py
index 9c263f0dd..c3408702d 100644
--- a/filter_plugins/oo_filters.py
+++ b/filter_plugins/oo_filters.py
@@ -130,7 +130,7 @@ class FilterModule(object):
rval.append("%s%s%s" % (item['key'], joiner, item['value']))
return rval
-
+
@staticmethod
def oo_combine_dict(data, in_joiner='=', out_joiner=' '):
'''Take a dict in the form of { 'key': 'value', 'key': 'value' } and
@@ -139,7 +139,7 @@ class FilterModule(object):
if not issubclass(type(data), dict):
raise errors.AnsibleFilterError("|failed expects first param is a dict")
- return out_joiner.join([ in_joiner.join([k, v]) for k, v in data.items() ])
+ return out_joiner.join([in_joiner.join([k, v]) for k, v in data.items()])
@staticmethod
def oo_ami_selector(data, image_name):