Commit 4b11a66f by Bryan Ricker

Fix inconsistent spacing

parent 7bf50e12
...@@ -476,10 +476,10 @@ module Paperclip ...@@ -476,10 +476,10 @@ module Paperclip
# called by storage after the writes are flushed and before @queued_for_writes is cleared # called by storage after the writes are flushed and before @queued_for_writes is cleared
def after_flush_writes def after_flush_writes
@queued_for_write.each do |style, file| @queued_for_write.each do |style, file|
file.close unless file.closed? file.close unless file.closed?
file.unlink if file.respond_to?(:unlink) && file.path.present? && File.exist?(file.path) file.unlink if file.respond_to?(:unlink) && file.path.present? && File.exist?(file.path)
end end
end end
# You can either specifiy :restricted_characters or you can define your own # You can either specifiy :restricted_characters or you can define your own
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment