Index: dashboard/dashboard/bisect_stats.py |
diff --git a/dashboard/dashboard/bisect_stats.py b/dashboard/dashboard/bisect_stats.py |
index 7d94a01ea7c080f1dcec91a59244c51919ecb5cf..088c7f5b87f1ec5bad3f1d78d6ab3eff03523bd4 100644 |
--- a/dashboard/dashboard/bisect_stats.py |
+++ b/dashboard/dashboard/bisect_stats.py |
@@ -91,7 +91,9 @@ def UpdateBisectStats(bot_name, status): |
bot_name: Name of the bisect bot. |
status: Bisect status. Either 'failed' or 'completed'. |
""" |
- assert status in ['failed', 'completed'] |
+ # TODO(chrisphan): Add stats for staled bisect. |
+ if status not in ['failed', 'completed']: |
+ return |
series_name = _GetSeriesNameFromBotName(bot_name) |
week_timestamp = _GetLastMondayTimestamp() |