# 'issues.xml'. Run this script to translate 'issues.xml' into a CSV
# file named 'editlist.csv'. Upload the CSV into a Google spreadsheet.
-# In the spreadsheet, select the last column and delete it (added by the
-# upload to allow for expansion; we don't need it).
+# In the spreadsheet, select the last column and pick "delete-->column" (it
+# was added by the upload to allow for expansion and we don't need it).
# Select all the columns and pick "align-->top"
# Select the ID and votes columns and pick "align-->right"
# Select the priority column and pick "align-->center"
# FIXME: These names really should be external to this script
-team = 'Bill Greg Steven Gary Ken Brandon Sohail Jim'.split()
+team = 'Bill Greg Steven Gary Ken Brandon Sohail Jim'.split()
# The elements to be picked out of the issue
# Parse the XML issues file and produce a DOM for it
-# FIXME: parameterize the input file name
+if len(sys.argv) > 1: xml = sys.argv
+else: xml = 'issues.xml'
from xml.dom.minidom import parse
-xml = parse(
# Go through the issues in the DOM, pick out the elements we want,
# and put them in our list of issues.