aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Bennett <alan.bennett@linaro.org>2015-05-18 17:35:26 -0600
committerAlan Bennett <alan.bennett@linaro.org>2015-05-18 17:35:26 -0600
commita6dc2f1be21b921137ed49b77389e545a8f4d40d (patch)
treeaa7c92fede50268aa6782a6d2276a3bb6ee780db
parentd91472d137bba0d4d23e23386e3feddd0abfe60e (diff)
Only print out the Team line if a team identifier (label) was used.HEADmaster
-rwxr-xr-xmonthly-report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/monthly-report.py b/monthly-report.py
index 5fd794d..aefc8b4 100755
--- a/monthly-report.py
+++ b/monthly-report.py
@@ -171,7 +171,7 @@ def report(jira, db, issues, outfile):
print >>outfile, '<table border=0>'
for issue in db_sorted:
print >>outfile, '<tr><td>&nbsp;&nbsp;</td><td><b>' + linkit(issue['key']) + ' - ' + issue['summary'] + '</b><br>'
- print >>outfile, 'Team: ' + issue['team'] + '<br>'
+ if issue['team'] != '': print >>outfile, 'Team: ' + issue['team'] + '<br>'
print >>outfile, 'Status: ' + issue['status']
print >>outfile, ', Target Delivery: ' + issue['fixversion']
if issue['confidence'] is None: