Merge branch 'main' into avm99963-monorail
Merged commit 34d8229ae2b51fb1a15bd208e6fe6185c94f6266
GitOrigin-RevId: 7ee0917f93a577e475f8e09526dd144d245593f4
diff --git a/sitewide/userupdates.py b/sitewide/userupdates.py
index b970614..d7a74c9 100644
--- a/sitewide/userupdates.py
+++ b/sitewide/userupdates.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.
"""Classes for user updates pages.
@@ -22,9 +21,7 @@
from businesslogic import work_env
from features import activities
from framework import servlet
-from framework import flaskservlet
from framework import urls
-from sitewide import sitewide_helpers
class AbstractUserUpdatesPage(servlet.Servlet):
@@ -88,8 +85,8 @@
viewed_user_id=mr.viewed_user_auth.user_id)
return [project.project_id for project in starred_projects]
- # def GetUserUpdatesProjectsPage(self, **kwargs):
- # return self.handler(**kwargs)
+ def GetUserUpdatesProjectsPage(self, **kwargs):
+ return self.handler(**kwargs)
class UserUpdatesDevelopers(AbstractUserUpdatesPage):
@@ -108,8 +105,8 @@
logging.debug('StarredUsers: %r', user_ids)
return user_ids
- # def GetUserUpdatesDevelopersPage(self, **kwargs):
- # return self.handler(**kwargs)
+ def GetUserUpdatesDevelopersPage(self, **kwargs):
+ return self.handler(**kwargs)
class UserUpdatesIndividual(AbstractUserUpdatesPage):
@@ -124,5 +121,5 @@
"""Returns a list of user IDs whom to retrieve activities from."""
return [mr.viewed_user_auth.user_id]
- # def GetUserUpdatesPage(self, **kwargs):
- # return self.handler(**kwargs)
+ def GetUserUpdatesPage(self, **kwargs):
+ return self.handler(**kwargs)