From: sousaedu Date: Thu, 8 Jul 2021 15:17:23 +0000 (+0200) Subject: Fix bug 1587 - TypeError fix X-Git-Tag: release-v11.0-start~8 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=commitdiff_plain;h=60bf895c75956f7a91cad46f920a1ad0b86a2000;hp=b7cdee12fe9a54f6019c98edd1fe94f10acc5080;ds=sidebyside Fix bug 1587 - TypeError fix Fixes the formatting error reported by bug 1587. Change-Id: I00446760ce4ab781ef6ca783e3a5f3221c94a774 Signed-off-by: sousaedu --- diff --git a/osm_nbi/auth.py b/osm_nbi/auth.py index 6c9ee92..eef2ae7 100644 --- a/osm_nbi/auth.py +++ b/osm_nbi/auth.py @@ -502,7 +502,7 @@ class Authenticator: query_string_operations, item_id, ) - self.logger.info("RBAC_auth: {}", format(RBAC_auth)) + self.logger.info("RBAC_auth: {}".format(RBAC_auth)) token_info["allow_show_user_project_role"] = RBAC_auth return token_info