From ff04426f57a4a6367fe3cdf6a71cd2cbe62ae149 Mon Sep 17 00:00:00 2001 From: yanta Date: Thu, 31 Oct 2024 14:46:20 +0800 Subject: [PATCH] lint --- sql/archiver.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql/archiver.py b/sql/archiver.py index 2444d08327..ad4f8a0965 100644 --- a/sql/archiver.py +++ b/sql/archiver.py @@ -475,12 +475,11 @@ def archive(archive_id): ) if not success: raise Exception(f"{error_info}\n{statistics}") - return src_db_name, src_table_name,error_info + return src_db_name, src_table_name, error_info except Exception as e: return src_db_name, src_table_name, str(e) - @permission_required("sql.menu_archive", raise_exception=True) def archive_log(request): """获取归档日志列表"""