2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 00:27:07 +00:00

delete redundant logbook dump

This commit is contained in:
Philip Sargent
2021-05-03 23:45:02 +01:00
parent 8ad791c594
commit 9ae2e18fe6
4 changed files with 0 additions and 81 deletions

View File

@@ -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