Source

dataliberation / issues / tigris / merge_issues.py

Full commit
import sys
from data.TigrisIssueList import TigrisIssueList

def usage():
    print "merge_issues.py xmlfile"

def main():
    if len(sys.argv) < 2:
        usage()
        sys.exit(0)

    tl = TigrisIssueList()
    tl.scanXML('.')

    print "%d issues read" % len(tl.issues)

    tl.writeFile(sys.argv[1])
    
if __name__ == "__main__":
    main()