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:28 UTC

[incubator-superset] 01/01: chore: Fix indentation issue

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