| Index: dashboard/dashboard/update_bug_with_results.py
|
| diff --git a/dashboard/dashboard/update_bug_with_results.py b/dashboard/dashboard/update_bug_with_results.py
|
| index 673dcf32e785d5351256e89d67d422d35574c21d..3eb7a935ac3391595eef65b840a86e34d2f9b1e2 100644
|
| --- a/dashboard/dashboard/update_bug_with_results.py
|
| +++ b/dashboard/dashboard/update_bug_with_results.py
|
| @@ -21,7 +21,6 @@
|
| from dashboard.common import datastore_hooks
|
| from dashboard.common import request_handler
|
| from dashboard.common import utils
|
| -from dashboard.models import alert_group
|
| from dashboard.models import anomaly
|
| from dashboard.models import bug_data
|
| from dashboard.models import try_job
|
| @@ -334,9 +333,9 @@
|
| query = anomaly.Anomaly.query(
|
| anomaly.Anomaly.bug_id == int(source_bug_id))
|
| anomalies = query.fetch()
|
| -
|
| - alert_group.ModifyAlertsAndAssociatedGroups(
|
| - anomalies, bug_id=int(dest_bug_id))
|
| + for anomaly_entity in anomalies:
|
| + anomaly_entity.bug_id = int(dest_bug_id)
|
| + ndb.put_multi(anomalies)
|
|
|
|
|
| def _GetCommitHashCacheKey(results_data):
|
|
|