summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xadmin/bin/mm2do12
1 files changed, 6 insertions, 6 deletions
diff --git a/admin/bin/mm2do b/admin/bin/mm2do
index 3aeea0d2a..10889d36f 100755
--- a/admin/bin/mm2do
+++ b/admin/bin/mm2do
@@ -20,19 +20,20 @@
# Requires Python 2.0.
-infp = open('TODO')
-outfp = open('admin/www/todo.html', 'w')
+import sys
+
+infp = open(sys.argv[1])
+outfp = open(sys.argv[2], 'w')
SPACE = ' '
-print >> outfp, '<html><head><title>The Mailman TODO list</title></head>'
-print >> outfp, '<body bgcolor="#ffffff">'
+print >> outfp, 'Title: The Mailman Wishlist\n'
def dumpsection(header, items, hasitems):
# We're looking at a header
if header:
# output the previous section
- print >> outfp, '<h1>', header, '</h1>'
+ print >> outfp, '<h3>', header, '</h3>'
if hasitems:
print >> outfp, '<ul>'
for item in items:
@@ -64,4 +65,3 @@ while 1:
items[-1].append(line[:-1])
dumpsection(header, items, hasitems)
-print >> outfp, '</body></html>'