This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 0.34
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 9e6c0ab7a77c03bd46700080eef52ab38a1f0577
Author: John Bodley <[email protected]>
AuthorDate: Sat Sep 7 23:32:17 2019 -0700

    Update core.py (#8191)
---
 superset/views/core.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/superset/views/core.py b/superset/views/core.py
index 7c09b44..b0776b3 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -2410,10 +2410,7 @@ class Superset(BaseSupersetView):
         )
         if rejected_tables:
             return json_error_response(
-                security_manager.get_table_access_error_msg(
-                    "{}".format(rejected_tables)
-                ),
-                status=403,
+                security_manager.get_table_access_error_msg(rejected_tables), 
status=403
             )
 
         payload = utils.zlib_decompress_to_string(blob)

Reply via email to