Skip to content

Commit

Permalink
use correct flag order in format string
Browse files Browse the repository at this point in the history
  • Loading branch information
jamis committed Nov 23, 2007
1 parent 0a43ee9 commit 7bbb704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/exception_notifier/_environment.rhtml
@@ -1,6 +1,6 @@
<% max = @request.env.keys.max { |a,b| a.length <=> b.length } -%>
<% @request.env.keys.sort.each do |key| -%>
* <%= "%*-s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
* <%= "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
<% end -%>

* Process: <%= $$ %>
Expand Down

0 comments on commit 7bbb704

Please sign in to comment.