diff options
author | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-08-14 11:23:57 -0400 |
---|---|---|
committer | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-08-14 11:23:57 -0400 |
commit | 6d58f40479a15d31f96b8eb13e7b480ae1416a6f (patch) | |
tree | 77773564ee689599899553e4df9b9381b9d8cdb5 | |
parent | 917c06381a65a5f5453559384afaa7f909c3d357 (diff) | |
parent | 7c45c23b6769779393e2bdf1d17f9e605a55d300 (diff) | |
download | openshift-6d58f40479a15d31f96b8eb13e7b480ae1416a6f.tar.gz openshift-6d58f40479a15d31f96b8eb13e7b480ae1416a6f.tar.bz2 openshift-6d58f40479a15d31f96b8eb13e7b480ae1416a6f.tar.xz openshift-6d58f40479a15d31f96b8eb13e7b480ae1416a6f.zip |
Merge pull request #473 from lhuard1A/fix_pylint
Fix pylint errors on oo_filters.py
-rw-r--r-- | filter_plugins/oo_filters.py | 4 |
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): |