Merge "Fix failure in blueprint popularity chart"

This commit is contained in:
Jenkins
2015-04-16 15:55:46 +00:00
committed by Gerrit Code Review

View File

@@ -378,7 +378,7 @@ def get_members(records, **kwargs):
def get_bpd(records, **kwargs):
result = []
for record in records:
if record['record_type'] in ['bpd', 'bpc']:
if record.record_type in ['bpd', 'bpc']:
record = vault.extend_record(record)
mention_date = record.get('mention_date')
if mention_date: