From 94b939d56c248be7e614ac1a2d3c1f8e6e387280 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Thu, 10 May 2018 14:02:21 -0700 Subject: [PATCH] Fix lint --- superset/db_engine_specs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/db_engine_specs.py b/superset/db_engine_specs.py index 2cf4891d73cf8..957da21194fee 100644 --- a/superset/db_engine_specs.py +++ b/superset/db_engine_specs.py @@ -104,7 +104,7 @@ def apply_limit_to_sql(cls, sql, limit, database): return database.compile_sqla_query(qry) elif LimitMethod.FORCE_LIMIT: no_limit = re.sub(r'(?i)\s+LIMIT\s+\d+;?(\s|;)*$', '', sql) - return "{no_limit} LIMIT {limit}".format(**locals()) + return '{no_limit} LIMIT {limit}'.format(**locals()) return sql @staticmethod