diff options
Diffstat (limited to 'build/bin/closed-to-rn.py')
-rwxr-xr-x | build/bin/closed-to-rn.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build/bin/closed-to-rn.py b/build/bin/closed-to-rn.py new file mode 100755 index 0000000000..30fe35496e --- /dev/null +++ b/build/bin/closed-to-rn.py @@ -0,0 +1,16 @@ +#!/usr/bin/python + +import sys,string + +filename = sys.argv[1] + +fin = open(filename, "r") +lines = fin.readlines() +fin.close() + +for line in lines: + fields = string.split(line, "\t") + + if fields[0] != "id": + ticketid = "<a href=\"http://dev.itmill.com/ticket/%s\">#%s</a>" % (fields[0],fields[0]) + print " <li>%s: %s</li>" % (ticketid, fields[1]) |