From 4c3af615e1b9e7e41ffb711914cf8ebd84fb47bf Mon Sep 17 00:00:00 2001
From: Lars Wirzenius <liw@iki.fi>
Date: Wed, 3 Jan 2007 22:53:22 +0200
Subject: [PATCH] Print error with the right function.

---
 NEWS   | 5 +++++
 eoc.py | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index f53e259..4e5663f 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.4 to version 1.2.5:
+
+    * The change in 1.2.3 used the wrong log printing function, this
+      release uses the right one.
+
 Significant user-visible changes from version 1.2.3 to version 1.2.4:
 
     * A fix to CVE-2006-5875, a security problem where EoC did not quote
diff --git a/eoc.py b/eoc.py
index dadeb46..bf10663 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.4"
+VERSION = "1.2.5"
 PLUGIN_INTERFACE_VERSION = "1"
 
 import getopt
@@ -551,7 +551,7 @@ class MailingList:
         
             return "\n".join(headers) + "\n\n" + body
         except:
-            warning("Cannot MIME encode header, using original ones, sorry")
+            info("Cannot MIME encode header, using original ones, sorry")
             return text
 
     def template(self, template_name, dict):
-- 
2.39.5