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

Unified Diff: appengine/chromium_try_flakes/handlers/all_flake_occurrences.py

Issue 1950053002: Deprecate bug-friendly feature (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | appengine/chromium_try_flakes/templates/all_flake_occurrences.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_try_flakes/handlers/all_flake_occurrences.py
diff --git a/appengine/chromium_try_flakes/handlers/all_flake_occurrences.py b/appengine/chromium_try_flakes/handlers/all_flake_occurrences.py
index 00f5ac5bcb39190ed79393bed37b637d7c08362f..d36d38811bd98d542c5a05fc0da62e3207767e3c 100644
--- a/appengine/chromium_try_flakes/handlers/all_flake_occurrences.py
+++ b/appengine/chromium_try_flakes/handlers/all_flake_occurrences.py
@@ -22,7 +22,7 @@ def RunsSortFunction(s): # pragma: no cover
def filterNone(elements):
return [e for e in elements if e is not None]
-def show_all_flakes(flake, bug_friendly): # pragma: no cover
+def show_all_flakes(flake): # pragma: no cover
occurrence_keys = []
for o in flake.occurrences:
occurrence_keys.append(o)
@@ -80,7 +80,6 @@ def show_all_flakes(flake, bug_friendly): # pragma: no cover
values = {
'flake': flake,
'grouped_runs': grouped_runs,
- 'bug_friendly': bug_friendly,
'time_now': datetime.datetime.utcnow(),
}
@@ -90,10 +89,9 @@ class AllFlakeOccurrences(webapp2.RequestHandler): # pragma: no cover
def get(self):
key = self.request.get('key')
flake = ndb.Key(urlsafe=key).get()
- bug_friendly = self.request.get('bug_friendly', 0)
if not flake:
self.response.set_status(404, 'Flake with id %s does not exist' % key)
return
- self.response.write(show_all_flakes(flake, bug_friendly))
+ self.response.write(show_all_flakes(flake))
« no previous file with comments | « no previous file | appengine/chromium_try_flakes/templates/all_flake_occurrences.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698