From f357be1e997f58edd3abecc58fe737ed5ae6ff86 Mon Sep 17 00:00:00 2001 From: Stuart Gathman <stuart@gathman.org> Date: Thu, 14 Mar 2013 22:11:26 +0000 Subject: [PATCH] Release 0.9.8 --- Milter/__init__.py | 2 +- makefile | 4 ++-- miltermodule.c | 7 ++++++- pymilter.spec | 4 ++-- setup.py | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Milter/__init__.py b/Milter/__init__.py index 516d24e..1584037 100755 --- a/Milter/__init__.py +++ b/Milter/__init__.py @@ -8,7 +8,7 @@ # Copyright 2001,2009 Business Management Systems, Inc. # This code is under the GNU General Public License. See COPYING for details. -__version__ = '0.9.7' +__version__ = '0.9.8' import os import re diff --git a/makefile b/makefile index 3786423..186f8d4 100644 --- a/makefile +++ b/makefile @@ -2,8 +2,8 @@ web: doxygen rsync -ravK doc/html/ spidey2.bmsi.com:/Public/pymilter -VERSION=0.9.7 -CVSTAG=pymilter-0_9_7 +VERSION=0.9.8 +CVSTAG=pymilter-0_9_8 PKG=pymilter-$(VERSION) SRCTAR=$(PKG).tar.gz diff --git a/miltermodule.c b/miltermodule.c index 1c89dab..b99b590 100644 --- a/miltermodule.c +++ b/miltermodule.c @@ -35,6 +35,9 @@ $ python setup.py help libraries=["milter","smutil","resolv"] * $Log$ + * Revision 1.34 2013/03/09 05:42:14 customdesigned + * Make TestBase members private, fix getsymlist misspelling. + * * Revision 1.33 2013/03/09 00:25:23 customdesigned * Better untrapped exception message. const char for doc comments. * @@ -657,7 +660,9 @@ _release_thread(PyThreadState *t) { /** Report and clear any python exception before returning to libmilter. The interpreter is locked when we are called, and we unlock it. */ static int _report_exception(milter_ContextObject *self) { - char *untrapped_msg = "pymilter: untrapped exception in milter app"; + char untrapped_msg[80]; + sprintf(untrapped_msg,"pymilter: untrapped exception in %.40s", + description.xxfi_name); if (PyErr_Occurred()) { PyErr_Print(); PyErr_Clear(); /* must clear since not returning to python */ diff --git a/pymilter.spec b/pymilter.spec index 67c1d77..28f5bf0 100644 --- a/pymilter.spec +++ b/pymilter.spec @@ -6,8 +6,8 @@ Summary: Python interface to sendmail milter API Name: %{pythonbase}-pymilter -Version: 0.9.7 -Release: 2%{dist} +Version: 0.9.8 +Release: 1%{dist} Source: http://downloads.sourceforge.net/pymilter/pymilter-%{version}.tar.gz License: GPLv2+ Group: Development/Libraries diff --git a/setup.py b/setup.py index 046bae9..8ceaffe 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ libs = ["milter"] libdirs = ["/usr/lib/libmilter"] # needed for Debian # NOTE: importing Milter to obtain version fails when milter.so not built -setup(name = "pymilter", version = '0.9.7', +setup(name = "pymilter", version = '0.9.8', description="Python interface to sendmail milter API", long_description="""\ This is a python extension module to enable python scripts to -- GitLab