Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
woshiyanghai committed Oct 31, 2024
1 parent dcb6a42 commit ff04426
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sql/archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""获取归档日志列表"""
Expand Down

0 comments on commit ff04426

Please sign in to comment.