From: Lars Wirzenius <liw@iki.fi>
Date: Fri, 10 Nov 2006 17:33:46 +0000 (+0200)
Subject: Don't kill EoC when MIME header encodings are broken. New release.
X-Git-Url: https://git.sommitrealweird.co.uk/eoc.git/commitdiff_plain/40fddc23dd3b446e0a80bd2865c6fc94105d77f4?ds=inline;hp=--cc

Don't kill EoC when MIME header encodings are broken. New release.
---

40fddc23dd3b446e0a80bd2865c6fc94105d77f4
diff --git a/NEWS b/NEWS
index 595a656..dd70ea0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,10 @@
 NEWS file for Enemies of Carlotta, a mailing list manager
 
+Significant user-visible changes from version 1.2.2 to version 1.2.3:
+
+    * When there is a problem with MIME header encodings, don't kill EoC,
+      just print a warning.
+
 Significant user-visible changes from version 1.2.1 to version 1.2.2:
 
     * Manual page: documents the values to the --posting option, and has
diff --git a/eoc.py b/eoc.py
index 8345a41..ecb8daf 100644
--- a/eoc.py
+++ b/eoc.py
@@ -4,7 +4,7 @@ This is a simple mailing list manager that mimicks the ezmlm-idx mail
 address commands. See manual page for more information.
 """
 
-VERSION = "1.2.2"
+VERSION = "1.2.3"
 PLUGIN_INTERFACE_VERSION = "1"
 
 import getopt
@@ -529,7 +529,7 @@ class MailingList:
         
             return "\n".join(headers) + "\n\n" + body
         except:
-            error("Cannot MIME encode header, using original ones, sorry")
+            warning("Cannot MIME encode header, using original ones, sorry")
             return text
 
     def template(self, template_name, dict):