aboutsummaryrefslogtreecommitdiffstats
path: root/bin/cleanarch
diff options
context:
space:
mode:
authormsapiro <>2006-01-22 20:34:20 +0000
committermsapiro <>2006-01-22 20:34:20 +0000
commitbf41c443106f98b0bcfd32ab9d240deb1c5d2b0f (patch)
treefcd40b3703ac29ce514fc4e08436268d5d0894b4 /bin/cleanarch
parent480c1aebd9e81e7b3a8917db59592c9cfb02c86e (diff)
downloadmailman2-bf41c443106f98b0bcfd32ab9d240deb1c5d2b0f.tar.gz
mailman2-bf41c443106f98b0bcfd32ab9d240deb1c5d2b0f.tar.xz
mailman2-bf41c443106f98b0bcfd32ab9d240deb1c5d2b0f.zip
Fixed bad escape '\0176' in re.
Diffstat (limited to 'bin/cleanarch')
-rw-r--r--bin/cleanarch7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/cleanarch b/bin/cleanarch
index 6bc780d2..a8485333 100644
--- a/bin/cleanarch
+++ b/bin/cleanarch
@@ -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 @@ cre = re.compile(mailbox.UnixMailbox._fromlinepattern)
# 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]+')