Skip to content

Commit

Permalink
Fix formatting in python plugin template
Browse files Browse the repository at this point in the history
  • Loading branch information
ttarczynski committed Jun 29, 2015
1 parent 5d4b527 commit b12a86a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions templates/plugin/python/module.conf.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
Import "<%= @module %>"

<Module "<%= @module %>">
<% @config.sort.each do |key,value| -%>
<%= key -%> <%= value -%>
<% end %>
<%- @config.sort.each do |key,value| -%>
<%- if value.is_a?(String) -%>
<%= key %> "<%= value %>"
<%- else -%>
<%= key %> <%= value %>
<%- end -%>
<%- end -%>
</Module>

0 comments on commit b12a86a

Please sign in to comment.