From cc5564af23e968982de10fa7cb9427ee4e6831e6 Mon Sep 17 00:00:00 2001 From: csunny Date: Mon, 24 Jul 2023 19:27:24 +0800 Subject: [PATCH] chroes: fix + lint --- pilot/common/sql_database.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pilot/common/sql_database.py b/pilot/common/sql_database.py index 85b3e369c..8e087a4bd 100644 --- a/pilot/common/sql_database.py +++ b/pilot/common/sql_database.py @@ -345,7 +345,14 @@ class Database: return [ d[0] for d in results - if d[0] not in ["information_schema", "performance_schema", "sys", "mysql", "knowledge_management"] + if d[0] + not in [ + "information_schema", + "performance_schema", + "sys", + "mysql", + "knowledge_management", + ] ] def convert_sql_write_to_select(self, write_sql):