Skip to content

Commit

Permalink
Merge pull request #792 from jlutran/removeArraySorting
Browse files Browse the repository at this point in the history
Remove array sorting in python module template (#586)
  • Loading branch information
bastelfreak authored May 20, 2018
2 parents 24492c7 + 3312f81 commit d95540c
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 d95540c

Please sign in to comment.