You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/09/11 12:07:13 UTC

[incubator-superset] 15/34: chore: Fix indentation issue (#10690)

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

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

commit f1895707d7cd3dca0056fb1af1c621a2ac2e4d6b
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Wed Aug 26 20:09:09 2020 -0700

    chore: Fix indentation issue (#10690)
---
 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