Fix failure when bug has no 'date_fix_committed' attr
Also fix unit test to catch the similar failures Change-Id: I33092e6e89cd77d4707bb61f2877c58efc775398
This commit is contained in:
@@ -534,7 +534,7 @@ class RecordProcessor(object):
|
||||
# present or the release date if no commit date is
|
||||
# present.
|
||||
bug_fixed['date'] = (
|
||||
record['date_fix_committed'] or
|
||||
record.get('date_fix_committed') or
|
||||
record['date_fix_released']
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user