Browse files

use correct flag order in format string

  • Loading branch information...
1 parent 0a43ee9 commit 7bbb704c9f30685b9034134efd42b0200c04720a @jamis jamis committed Nov 23, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/exception_notifier/_environment.rhtml
View
2 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: <%= $$ %>

0 comments on commit 7bbb704

Please sign in to comment.