From c4e07d03f2519e61e8ab58ad71bbbd4d72524d95 Mon Sep 17 00:00:00 2001 From: tierno Date: Fri, 14 Aug 2020 14:25:32 +0000 Subject: [PATCH] fix project|use|role-list error it was introduced at commit 2fbb1c6 gerrit 9565 Change-Id: I18826b31f569a9fb34444a3610cc4be96f475c87 Signed-off-by: tierno --- osm_nbi/admin_topics.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osm_nbi/admin_topics.py b/osm_nbi/admin_topics.py index 6e9f078..7e71459 100644 --- a/osm_nbi/admin_topics.py +++ b/osm_nbi/admin_topics.py @@ -812,7 +812,7 @@ class UserTopicAuth(UserTopic): except ValidationError as e: raise EngineException(e, HTTPStatus.UNPROCESSABLE_ENTITY) - def list(self, session, filter_q=None): + def list(self, session, filter_q=None, api_req=False): """ Get a list of the topic that matches a filter :param session: contains "username", "admin", "force", "public", "project_id", "set_project" @@ -982,7 +982,7 @@ class ProjectTopicAuth(ProjectTopic): else: raise EngineException("Project not found", HTTPStatus.NOT_FOUND) - def list(self, session, filter_q=None): + def list(self, session, filter_q=None, api_req=False): """ Get a list of the topic that matches a filter @@ -1248,7 +1248,7 @@ class RoleTopicAuth(BaseTopic): raise AuthconnConflictException("Found more than one role with filter {}".format(filter_q)) return roles[0] - def list(self, session, filter_q=None): + def list(self, session, filter_q=None, api_req=False): """ Get a list of the topic that matches a filter -- 2.25.1