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

Unified Diff: appengine/findit/handlers/build_failure.py

Issue 2416303002: [Findit] Adding support for triaging suspected builds from flake analysis (Closed)
Patch Set: Rebase Created 4 years, 2 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/findit/common/test/base_handler_test.py ('k') | appengine/findit/handlers/flake/check_flake.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/handlers/build_failure.py
diff --git a/appengine/findit/handlers/build_failure.py b/appengine/findit/handlers/build_failure.py
index 77bd7543a5888fcbaacc7a25f0438334abd7cb6c..4896e94656ebe388cd059266ec9015256f971d29 100644
--- a/appengine/findit/handlers/build_failure.py
+++ b/appengine/findit/handlers/build_failure.py
@@ -397,12 +397,6 @@ def _GetAllSuspectedCLsAndCheckStatus(
class BuildFailure(BaseHandler):
PERMISSION_LEVEL = Permission.ANYONE
- def _ShowDebugInfo(self):
- # Show debug info only if the app is run locally during development, if the
- # currently logged-in user is an admin, or if it is explicitly requested
- # with parameter 'debug=1'.
- return users.is_current_user_admin() or self.request.get('debug') == '1'
-
def _ShowTriageHelpButton(self):
return users.is_current_user_admin()
« no previous file with comments | « appengine/findit/common/test/base_handler_test.py ('k') | appengine/findit/handlers/flake/check_flake.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698