You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

closed-to-rn.py 346B

12345678910111213141516
  1. #!/usr/bin/python
  2. import sys,string
  3. filename = sys.argv[1]
  4. fin = open(filename, "r")
  5. lines = fin.readlines()
  6. fin.close()
  7. for line in lines:
  8. fields = string.split(line, "\t")
  9. if fields[0] != "id":
  10. ticketid = "<a href=\"http://dev.vaadin.com/ticket/%s\">#%s</a>" % (fields[0],fields[0])
  11. print " <li>%s: %s</li>" % (ticketid, fields[1])