Skip to content

Commit

Permalink
Remove array sorting in python module template
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Lutran committed May 18, 2018
1 parent 24492c7 commit 3312f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/plugin/python/module.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Module "<%= @module %>">
<%- 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) -%>
Expand Down

0 comments on commit 3312f81

Please sign in to comment.