Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: appengine/chromium_try_flakes/model/flake.py

Issue 1647983002: Fix spelling of the word occurrence (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/chromium_try_flakes/handlers/index.py ('k') | appengine/chromium_try_flakes/status/cq_status.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_try_flakes/model/flake.py
diff --git a/appengine/chromium_try_flakes/model/flake.py b/appengine/chromium_try_flakes/model/flake.py
index b7073ad57afb09acca8e76b87ee8e30f67235311..b92d78671ee51e3dbf77dfce0d9d0400d2ac1714 100644
--- a/appengine/chromium_try_flakes/model/flake.py
+++ b/appengine/chromium_try_flakes/model/flake.py
@@ -8,8 +8,8 @@ from google.appengine.ext import ndb
from model.build_run import BuildRun
-# A particular occurance of a single flake occuring.
-class FlakeOccurance(ndb.Model):
+# A particular occurrence of a single flake occuring.
+class FlakeOccurrence(ndb.Model):
# step name, i.e. browser_tests
name = ndb.StringProperty(required=True)
# failre, i.e. FooTest.Bar
@@ -18,7 +18,7 @@ class FlakeOccurance(ndb.Model):
# Represents a patchset with a successful and failed try run for a particular
# builder. The flaky failed run can have multiple different flakes that cause
-# it to turn red, each represented by a FlakeOccurance.
+# it to turn red, each represented by a FlakeOccurrence.
class FlakyRun(ndb.Model):
failure_run = ndb.KeyProperty(BuildRun, required=True)
# A copy of failure_run.time_started to reduce lookups.
@@ -26,7 +26,7 @@ class FlakyRun(ndb.Model):
# A copy of failure_run.time_finished to reduce lookups.
failure_run_time_finished = ndb.DateTimeProperty(required=True)
success_run = ndb.KeyProperty(BuildRun, required=True)
- flakes = ndb.StructuredProperty(FlakeOccurance, repeated=True)
+ flakes = ndb.StructuredProperty(FlakeOccurrence, repeated=True)
comment = ndb.StringProperty()
« no previous file with comments | « appengine/chromium_try_flakes/handlers/index.py ('k') | appengine/chromium_try_flakes/status/cq_status.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698