[Pkg-mailman-hackers] Pkg-mailman commit - rev 487 - trunk/debian
Lionel Elie Mamane
lmamane at alioth.debian.org
Wed Feb 28 22:05:21 CET 2007
Author: lmamane
Date: 2007-02-28 22:05:20 +0100 (Wed, 28 Feb 2007)
New Revision: 487
Modified:
trunk/debian/changelog
trunk/debian/postinst
trunk/debian/unicodify_archives.py
Log:
Upgrade subject and author indexes of _alls_ archiving volumes to
Unicode strings.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-02-27 22:16:39 UTC (rev 486)
+++ trunk/debian/changelog 2007-02-28 21:05:20 UTC (rev 487)
@@ -1,3 +1,10 @@
+mailman (1:2.1.9-7) unstable; urgency=low
+
+ * Upgrade subject and author indexes of _all_ archiving volumes to
+ Unicode strings. (completely closes: #412142)
+
+ -- Lionel Elie Mamane <lmamane at debian.org> Wed, 28 Feb 2007 21:59:36 +0100
+
mailman (1:2.1.9-6) unstable; urgency=medium
[ Lionel Elie Mamane ]
Modified: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst 2007-02-27 22:16:39 UTC (rev 486)
+++ trunk/debian/postinst 2007-02-28 21:05:20 UTC (rev 487)
@@ -219,7 +219,7 @@
;;
esac
-if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1:2.1.9-6"; then
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1:2.1.9-7"; then
/var/lib/mailman/bin/withlist --all -q -r unicodify_archives
fi
Modified: trunk/debian/unicodify_archives.py
===================================================================
--- trunk/debian/unicodify_archives.py 2007-02-27 22:16:39 UTC (rev 486)
+++ trunk/debian/unicodify_archives.py 2007-02-28 21:05:20 UTC (rev 487)
@@ -54,10 +54,9 @@
else:
from Mailman.Archiver import HyperArch
h = HyperArch.HyperArchive(mlist)
- currentVolume = h.dateToVolName(time.time())
- if currentVolume in h.archives:
+ for archive in h.archives:
for hdr in ('subject', 'author'):
- h.database.mapKeys(unicodify_fst, currentVolume, hdr)
+ h.database.mapKeys(unicodify_fst, archive, hdr)
h.close()
More information about the Pkg-mailman-hackers
mailing list