summaryrefslogtreecommitdiffstats
path: root/databaseReset.py
diff options
context:
space:
mode:
Diffstat (limited to 'databaseReset.py')
-rw-r--r--databaseReset.py13
1 files changed, 0 insertions, 13 deletions
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