You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2019/09/08 06:32:29 UTC

[incubator-superset] branch master updated: Update core.py (#8191)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9dfa0a3  Update core.py (#8191)
9dfa0a3 is described below

commit 9dfa0a3f8e871eb3f4d574bdaed4c492725e2894
Author: John Bodley <45...@users.noreply.github.com>
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 ecf0770..af4fe7e 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -2447,10 +2447,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(blob, decode=not results_backend_use_msgpack)