diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2016-09-02 09:19:23 -0700 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2016-09-02 09:19:23 -0700 |
commit | 03c1c44e0fbee428a3f0389682effd742e71fe25 (patch) | |
tree | 0e87d3d5140abef903ea67f2fd868c6529e83846 | |
parent | 6afbf3c95b4dc466f431f360b21447bbd184d6f2 (diff) | |
download | openshift-03c1c44e0fbee428a3f0389682effd742e71fe25.tar.gz openshift-03c1c44e0fbee428a3f0389682effd742e71fe25.tar.bz2 openshift-03c1c44e0fbee428a3f0389682effd742e71fe25.tar.xz openshift-03c1c44e0fbee428a3f0389682effd742e71fe25.zip |
Fix string substitution error in the to_padded_yaml filter
-rw-r--r-- | filter_plugins/oo_filters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter_plugins/oo_filters.py b/filter_plugins/oo_filters.py index a4dceb679..053de7703 100644 --- a/filter_plugins/oo_filters.py +++ b/filter_plugins/oo_filters.py @@ -625,7 +625,7 @@ class FilterModule(object): padded = "\n".join([" " * level * indent + line for line in transformed.splitlines()]) return to_unicode("\n{0}".format(padded)) except Exception as my_e: - raise errors.AnsibleFilterError('Failed to convert: %s', my_e) + raise errors.AnsibleFilterError('Failed to convert: %s' % my_e) @staticmethod def oo_openshift_env(hostvars): |