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 2020/08/26 22:00:27 UTC

[incubator-superset] branch john-bodley--fix-indentation created (now 5541016)

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

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


      at 5541016  chore: Fix indentation issue

This branch includes the following new commits:

     new 5541016  chore: Fix indentation issue

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: chore: Fix indentation issue

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-indentation
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 5541016ea7ed050493312c0b48543a028f34ba93
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Wed Aug 26 14:59:55 2020 -0700

    chore: Fix indentation issue
---
 superset/tasks/cache.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/tasks/cache.py b/superset/tasks/cache.py
index 54b0dc1..953ed31 100644
--- a/superset/tasks/cache.py
+++ b/superset/tasks/cache.py
@@ -68,8 +68,8 @@ def get_form_data(
         extra_filters = build_extra_filters(
             layout, filter_scopes, default_filters, chart_id
         )
-    if extra_filters:
-        form_data["extra_filters"] = extra_filters
+        if extra_filters:
+            form_data["extra_filters"] = extra_filters
 
     return form_data