| Index: appengine/findit/model/flake/flake_analysis_request.py
|
| diff --git a/appengine/findit/model/flake/flake_analysis_request.py b/appengine/findit/model/flake/flake_analysis_request.py
|
| index 1c9c4f9244478c7c6df195d04096ab20a7a7230d..651c8b31ba4bc5740a0b57fc1f9825e0946679b9 100644
|
| --- a/appengine/findit/model/flake/flake_analysis_request.py
|
| +++ b/appengine/findit/model/flake/flake_analysis_request.py
|
| @@ -119,3 +119,12 @@ class FlakeAnalysisRequest(VersionedModel):
|
| BuildStep.Create(
|
| master_name, builder_name, build_number, step_name, reported_time))
|
| return True
|
| +
|
| + def CopyFrom(self, other):
|
| + """Copies all states from the given request."""
|
| + assert isinstance(other, FlakeAnalysisRequest)
|
| + self.is_step = other.is_step
|
| + self.bug_id = other.bug_id
|
| + self.user_emails = other.user_emails
|
| + self.build_steps = other.build_steps
|
| + self.analyses = other.analyses
|
|
|