Update of /cvsroot/mailman/mailman/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15505
Modified Files:
Tag: Release_2_1-maint
cleanarch
Log Message:
Fixed bad escape '\0176' in re.
Index: cleanarch
===================================================================
RCS file: /cvsroot/mailman/mailman/bin/cleanarch,v
retrieving revision 2.4.2.2
retrieving revision 2.4.2.3
diff -u -d -r2.4.2.2 -r2.4.2.3
--- cleanarch 27 Aug 2005 01:40:16 -0000 2.4.2.2
+++ cleanarch 22 Jan 2006 20:34:20 -0000 2.4.2.3
@@ -1,6 +1,6 @@
#! @PYTHON@
-# Copyright (C) 2001-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -14,7 +14,8 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
"""Clean up an .mbox archive file.
@@ -59,7 +60,7 @@
# From RFC 2822, a header field name must contain only characters from 33-126
# inclusive, excluding colon. I.e. from oct 41 to oct 176 less oct 072. Must
# use re.match() so that it's anchored at the beginning of the line.
-fre = re.compile(r'[\041-\071\073-\0176]+')
+fre = re.compile(r'[\041-\071\073-\176]+')
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org