Commit 867899c6 authored by cyrush's avatar cyrush
Browse files

added the 'target_version' field to genearted reports

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@11824 18c085ea-50e0-402c-830e-de6fd14e8384
parent c8ed01af
......@@ -5,6 +5,11 @@
# Generates issue report pdfs from VisIt redmine queries.
# See http://www.visitusers.org/index.php?title=Redmine_Reports for more info.
#
# modifications:
# Cyrus Harrison, Wed Jul 7 09:55:05 PDT 2010
# Added 'target_version' field to generated report.
#
#
import pyrmine,sys,os,datetime,logging
import ho.pisa as pisa
......@@ -23,7 +28,7 @@ class VisItIssue(pyrmine.Issue):
i = self.data._asdict()
res = "<h1># %s (%s) %s</h1>\n" % (i["id"],i["tracker"],i["subject"])
res += "<table><tr><td>\n"
for key in ["status","author","created","updated","priority","assigned_to"]:
for key in ["status","author","created","updated","priority","assigned_to","target_version"]:
res += "<b>%s</b>: %s<br>\n" % (key,self.__format_blank(i[key]))
res+="</td><td>\n"
if i["tracker"] == "Feature":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment