Skip to content

Commit 2938256

Browse files
committed
changed location of auxillary scripts
1 parent c2f483e commit 2938256

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

mapswipe_workers/utils/import_firebase_to_psql.py renamed to scripts/import_firebase_to_psql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,11 @@ def import_users(postgres):
416416

417417
logging.basicConfig(format="%(asctime)s :: %(name)s :: %(levelname)s :: %(message)s",
418418
datefmt="%Y-%m-%d %H:%M:%S",
419-
filename='./logs/utils_{}.log'.format(args.operation),
419+
filename='./logs/aux_{}.log'.format(args.operation),
420420
filemode="a",
421421
level=logging.INFO)
422422

423-
logger = logging.getLogger(name="utils_{}".format(args.operation))
423+
logger = logging.getLogger(name="aux_{}".format(args.operation))
424424

425425
firebase, postgres = b.get_environment(args.modus)
426426

mapswipe_workers/utils/migrate_mysql_psql.py renamed to scripts/migrate_mysql_psql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get_results(postgres):
7979
del p_con
8080
return msql_results_count, psql_results_count
8181

82-
82+
utils
8383
def create_materialized_views(postgres):
8484
p_con = postgres()
8585

mapswipe_workers/utils/report_dif_firebase_psql.py renamed to scripts/report_dif_firebase_psql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ def check_firebase_psql(firebase, postgres):
9292

9393
logging.basicConfig(format="%(asctime)s :: %(name)s :: %(levelname)s :: %(message)s",
9494
datefmt="%Y-%m-%d %H:%M:%S",
95-
filename='./logs/utils_report.log',
95+
filename='./logs/aux_report.log',
9696
filemode="a",
9797
level=logging.INFO)
98-
logger = logging.getLogger(name="utils_report")
98+
logger = logging.getLogger(name="aux_report")
9999

100100
logging.info("Operation started in mode %s." % args.modus)
101101

0 commit comments

Comments
 (0)