From 3312f8137da9d5d0cba3073aa257e5dff1a527e3 Mon Sep 17 00:00:00 2001 From: Julien Lutran Date: Fri, 18 May 2018 12:03:35 +0200 Subject: [PATCH] Remove array sorting in python module template --- templates/plugin/python/module.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/plugin/python/module.conf.erb b/templates/plugin/python/module.conf.erb index ec9ca9de1..858a1287d 100644 --- a/templates/plugin/python/module.conf.erb +++ b/templates/plugin/python/module.conf.erb @@ -6,7 +6,7 @@ "> <%- configuration.sort.each do |key,value| -%> <%- if value.is_a?(Array) -%> - <%- value.sort.each do |v| -%> + <%- value.each do |v| -%> <%= key %> <% if !!v == v %><%= v %><% else %>"<%= Shellwords.split(v).join('" "') %>"<% end %> <%- end -%> <%- elsif value.is_a?(Hash) -%>