Chromium Code Reviews| Index: appengine/findit/model/wf_analysis.py |
| diff --git a/appengine/findit/model/wf_analysis.py b/appengine/findit/model/wf_analysis.py |
| index 2838adea93c03ac67cdba4ecd42d05e4cdaf226f..8401b6777ecd327f3fee0a5ec667213248dc67ed 100644 |
| --- a/appengine/findit/model/wf_analysis.py |
| +++ b/appengine/findit/model/wf_analysis.py |
| @@ -145,7 +145,8 @@ class WfAnalysis(BaseBuildModel): |
| # Suspected CLs we found. |
| suspected_cls = ndb.JsonProperty(indexed=False, compressed=True) |
| # Record the id of try job results of each failure. |
| - failure_result_map = ndb.JsonProperty(indexed=False, compressed=True) |
| + failure_result_map = ndb.JsonProperty(indexed=False, compressed=True, |
| + default={}) |
|
stgao
2016/07/12 20:26:52
This possible pitfall might cause unexpected behav
chanli
2016/07/12 20:41:19
Done.
|
| # The actual culprit CLs that are responsible for the failures. |
| culprit_cls = ndb.JsonProperty(indexed=False, compressed=True) |