Fix bug 1587 - TypeError fix 58/11058/1
authorsousaedu <eduardo.sousa@canonical.com>
Thu, 8 Jul 2021 15:17:23 +0000 (17:17 +0200)
committersousaedu <eduardo.sousa@canonical.com>
Thu, 8 Jul 2021 15:17:30 +0000 (17:17 +0200)
Fixes the formatting error reported by bug 1587.

Change-Id: I00446760ce4ab781ef6ca783e3a5f3221c94a774
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
osm_nbi/auth.py

index 6c9ee92..eef2ae7 100644 (file)
@@ -502,7 +502,7 @@ class Authenticator:
                     query_string_operations,
                     item_id,
                 )
                     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
                 token_info["allow_show_user_project_role"] = RBAC_auth
 
             return token_info