diff options
author | francis <francis> | 2009-07-16 16:33:37 +0000 |
---|---|---|
committer | francis <francis> | 2009-07-16 16:33:37 +0000 |
commit | 46ca79a72ea5204ea653cdf87bf5c1c200d7b5b9 (patch) | |
tree | b65c542fad6a5a7acb2a3d8422b7c1f07225c2c4 | |
parent | 48bfe97d2488a00fe30efd5b2e11949342e1218a (diff) |
Use same spacing as rest of WDTK code (albeit not the Rails standard)
-rw-r--r-- | app/models/incoming_message.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index fb687506a..39990e1d1 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -19,7 +19,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: incoming_message.rb,v 1.207 2009-07-09 18:36:50 louise Exp $ +# $Id: incoming_message.rb,v 1.208 2009-07-16 16:33:37 francis Exp $ # TODO # Move some of the (e.g. quoting) functions here into rblib, as they feel @@ -1018,9 +1018,9 @@ class IncomingMessage < ActiveRecord::Base if entry.file? filename = entry.to_s begin - body = entry.get_input_stream.read + body = entry.get_input_stream.read rescue - next + next end calc_mime = filename_to_mimetype(filename) if calc_mime |