From 9ae2e18fe6a25b9dfb0de3bd01916327c5c8a71a Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 3 May 2021 23:45:02 +0100 Subject: delete redundant logbook dump --- databaseReset.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'databaseReset.py') diff --git a/databaseReset.py b/databaseReset.py index bde040c..c2a0d9b 100644 --- a/databaseReset.py +++ b/databaseReset.py @@ -47,7 +47,6 @@ from troggle.core.utils import get_process_memory from troggle.core.models.caves import Cave, Entrance from troggle.parsers.imports import import_caves, import_people, import_surveyscans, \ import_logbooks, import_QMs, import_survex, import_loadpos, import_drawingsfiles -import troggle.logbooksdump if os.geteuid() == 0: # This protects the server from having the wrong file permissions written on logs and caches @@ -157,18 +156,6 @@ def memdumpsql(fn): return True # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# These functions moved to a different file - not used currently. -# import logbooksdump -# def dumplogbooks(): - -# def writeCaves(): - # Writes out all cave and entrance HTML files to - # folder specified in settings.CAVEDESCRIPTIONS -# for cave in Cave.objects.all(): -# cave.writeDataFile() -# for entrance in Entrance.objects.all(): -# entrance.writeDataFile() -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - class JobQueue(): """A list of import operations to run. Always reports profile times -- cgit v1.2.3