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/16 06:35:10 UTC

[incubator-superset] 14/28: fix: disable false positive error (#10576)

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

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

commit 92b3f88b1a70cd855e498836ae76a4ef425c280e
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Tue Aug 11 18:20:57 2020 +0100

    fix: disable false positive error (#10576)
---
 superset/utils/decorators.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/utils/decorators.py b/superset/utils/decorators.py
index bb0219c..694e07b 100644
--- a/superset/utils/decorators.py
+++ b/superset/utils/decorators.py
@@ -109,7 +109,7 @@ def etag_cache(max_age: int, check_perms: Callable[..., Any]) -> Callable[..., A
                     except Exception:  # pylint: disable=broad-except
                         if app.debug:
                             raise
-                    logger.exception("Exception possibly due to cache backend.")
+                        logger.exception("Exception possibly due to cache backend.")
 
             return response.make_conditional(request)