Skip to content
Snippets Groups Projects
Commit 569f1501 authored by Pierre-Gilles LEVALLOIS's avatar Pierre-Gilles LEVALLOIS
Browse files

fix and fix and refix typo, Metropole dev env sucks...

parent c86e93c8
Branches
Tags
1 merge request!6Fully functional version that calculate layer with all stages
Pipeline #59893 passed
...@@ -860,21 +860,21 @@ def getProgress(DBcursor, DBSchema, codeInsee, id_factor=None): ...@@ -860,21 +860,21 @@ def getProgress(DBcursor, DBSchema, codeInsee, id_factor=None):
def resetProgress(DB_params, DB_schema): def resetProgress(DB_params, DB_schema):
debugLog(style.WHITE, "Deleting process tables...", logging.INFO) debugLog(style.WHITE, "Deleting process tables...", logging.INFO)
truncateDataInDb(DB_params, DB_schema, 'tiles_progress') truncateDataInDB(DB_params, DB_schema, 'tiles_progress')
truncateDataInDb(DB_params, DB_schema, 'factors_progress') truncateDataInDB(DB_params, DB_schema, 'factors_progress')
debugLog(style.GREEN, "Done.", logging.INFO) debugLog(style.GREEN, "Done.", logging.INFO)
def resetDataInDb(DB_params, DB_schema): def resetDataInDb(DB_params, DB_schema):
debugLog(style.WHITE, "Deleting datas table...", logging.INFO) debugLog(style.WHITE, "Deleting datas table...", logging.INFO)
truncateDataInDb(DB_params, DB_schema, 'datas') truncateDataInDB(DB_params, DB_schema, 'datas')
debugLog(style.GREEN, "Done.", logging.INFO) debugLog(style.GREEN, "Done.", logging.INFO)
debugLog(style.WHITE, "Deleting tiles_factors table...", logging.INFO) debugLog(style.WHITE, "Deleting tiles_factors table...", logging.INFO)
truncateDataInDb(DB_params, DB_schema, 'tiles_factors') truncateDataInDB(DB_params, DB_schema, 'tiles_factors')
debugLog(style.GREEN, "Done.", logging.INFO) debugLog(style.GREEN, "Done.", logging.INFO)
debugLog(style.WHITE, "Deleting tiles table...", logging.INFO) debugLog(style.WHITE, "Deleting tiles table...", logging.INFO)
truncateDataInDb(DB_params, DB_schema, 'tiles') truncateDataInDB(DB_params, DB_schema, 'tiles')
debugLog(style.GREEN, "Done.", logging.INFO) debugLog(style.GREEN, "Done.", logging.INFO)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment