| 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..ccef2c153f1b39f22a12cc4501d3130f02b0c85f 100644
|
| --- a/appengine/findit/model/flake/flake_analysis_request.py
|
| +++ b/appengine/findit/model/flake/flake_analysis_request.py
|
| @@ -36,8 +36,8 @@ class BuildStep(ndb.Model):
|
| # Indicate whether analysis on the step is supported.
|
| supported = ndb.BooleanProperty(indexed=False, default=False)
|
|
|
| - # Indicate whether the flake on this configuration is analyzed.
|
| - analyzed = ndb.BooleanProperty(indexed=False, default=False)
|
| + # Indicate whether the analysis of flake on this configuration is scheduled.
|
| + scheduled = ndb.BooleanProperty(indexed=False, default=False)
|
|
|
| @staticmethod
|
| def _StripMasterPrefix(name):
|
| @@ -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
|
|
|