Merge branch 'main' into avm99963-monorail
Merged commit 34d8229ae2b51fb1a15bd208e6fe6185c94f6266
GitOrigin-RevId: 7ee0917f93a577e475f8e09526dd144d245593f4
diff --git a/features/rerankhotlist.py b/features/rerankhotlist.py
index 74365f6..ca491c8 100644
--- a/features/rerankhotlist.py
+++ b/features/rerankhotlist.py
@@ -1,7 +1,6 @@
-# Copyright 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file or at
-# https://developers.google.com/open-source/licenses/bsd
+# Copyright 2016 The Chromium Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
"""Class that implements the reranking on the hotlistissues table page."""
from __future__ import print_function
@@ -19,7 +18,6 @@
from tracker import rerank_helpers
-# TODO: convert to FLaskJsonFeed while conver to flask
class RerankHotlistIssue(jsonfeed.JsonFeed):
"""Rerank an issue in a hotlist."""
@@ -136,8 +134,8 @@
mr.target_id, mr.split_above, untouched_items)
return rerank_helpers.GetInsertRankings(lower, higher, mr.moved_ids)
- # def GetRerankHotlistIssuePage(self, **kwargs):
- # return self.handler(**kwargs)
+ def GetRerankHotlistIssuePage(self, **kwargs):
+ return self.handler(**kwargs)
- # def PostRerankHotlistIssuePage(self, **kwargs):
- # return self.handler(**kwargs)
+ def PostRerankHotlistIssuePage(self, **kwargs):
+ return self.handler(**kwargs)