Author: hdu
Date: Thu Jul 11 11:29:25 2013
New Revision: 1502189
URL: http://svn.apache.org/r1502189
Log:
svnlog2info: show bug status also for unresolved issues
Modified:
openoffice/devtools/scripts/svnlog2info.py
Modified: openoffice/devtools/scripts/svnlog2info.py
URL:
http://svn.apache.org/viewvc/openoffice/devtools/scripts/svnlog2info.py?rev=1502189&r1=1502188&r2=1502189&view=diff
==============================================================================
--- openoffice/devtools/scripts/svnlog2info.py (original)
+++ openoffice/devtools/scripts/svnlog2info.py Thu Jul 11 11:29:25 2013
@@ -162,8 +162,13 @@ def revs2info( htmlname, detail_level, a
bug_desc = bug[ "summary"]
bug_type = bug[ "cf_bug_type"]
bug_target = bug[ "target_milestone"]
- bug_status = bug[ "resolution"]
priority = bug[ "priority"]
+ if ("status" in bug):
+ bug_status = bug[ "status"]
+ if bug_status == "RESOLVED":
+ bug_status = bug[ "resolution"]
+ else:
+ bug_status = "UNKNOWN"
colortype = bug_type[0]+priority[1]
if colortype in type2color: