From e28f7cdf7098661539e67f252138ff1219c1c3e6 Mon Sep 17 00:00:00 2001 From: coulisse Date: Sat, 21 Dec 2024 11:26:36 +0100 Subject: [PATCH] Issue #69 and lint --- lib/qry.py | 2 -- scripts/mysql2sqlite.sh | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/qry.py b/lib/qry.py index 27710de..959653b 100644 --- a/lib/qry.py +++ b/lib/qry.py @@ -1,8 +1,6 @@ # ***************************************************************************************** # module used to make query to mariadb -# TODO: manage polymorfism and use only one qry sign # ***************************************************************************************** -# import MySQLdb as my import mariadb as my import logging import json diff --git a/scripts/mysql2sqlite.sh b/scripts/mysql2sqlite.sh index 8f04494..f7ad805 100755 --- a/scripts/mysql2sqlite.sh +++ b/scripts/mysql2sqlite.sh @@ -15,7 +15,7 @@ sqlite_db=dxcluster.db mysql_dump_db=$(mktemp) -mysql_dump_db="mysql.sql" #TODO: remove +mysql_dump_db="mysql.sql" progress_bar() { local width=50 @@ -123,7 +123,7 @@ fi exit #TODO: remove exit #remove dump file -rm ${mysql_dump_db}; +rm ${mysql_dump_db} echo done