summaryrefslogtreecommitdiff
path: root/split-mailman-mails-and-discard-and-save
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-07-06 00:10:12 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2006-07-06 00:10:12 +0000
commit4fa8df9226fe00c991b5d22907327f7ba1eacf4a (patch)
treecd2718c623acd27d446d5febbe2e6cdf4920e060 /split-mailman-mails-and-discard-and-save
parenta046c34fbac060f4678e82db5f4cfaeda7019eb3 (diff)
length does not work for RMail::Message objects, do a to_s
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@152 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'split-mailman-mails-and-discard-and-save')
-rwxr-xr-xsplit-mailman-mails-and-discard-and-save2
1 files changed, 1 insertions, 1 deletions
diff --git a/split-mailman-mails-and-discard-and-save b/split-mailman-mails-and-discard-and-save
index 48df9eb..ab02340 100755
--- a/split-mailman-mails-and-discard-and-save
+++ b/split-mailman-mails-and-discard-and-save
@@ -158,7 +158,7 @@ def runnoerrors(command, input)
end
def sa_check(message)
- if message.length > 250000
+ if message.to_s.length > 250000
return ["Unsure", "File over 250000 Bytes in size, SA check skipped", 0]
end