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 00:34:11 UTC

[incubator-superset] branch john-bodley--fix-call-to-rejected-tables created (now 9bb8f2a)

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

johnbodley pushed a change to branch john-bodley--fix-call-to-rejected-tables
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


      at 9bb8f2a  Update core.py

This branch includes the following new commits:

     new 9bb8f2a  Update core.py

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-superset] 01/01: Update core.py

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch john-bodley--fix-call-to-rejected-tables
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 9bb8f2a4276f840a76b4a3fe805af0b6fa5943ce
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Sat Sep 7 17:33:49 2019 -0700

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

diff --git a/superset/views/core.py b/superset/views/core.py
index ecf0770..baf1273 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -2447,9 +2447,7 @@ class Superset(BaseSupersetView):
         )
         if rejected_tables:
             return json_error_response(
-                security_manager.get_table_access_error_msg(
-                    "{}".format(rejected_tables)
-                ),
+                security_manager.get_table_access_error_msg(rejected_tables),
                 status=403,
             )