diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-05-03 23:45:02 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-05-03 23:45:02 +0100 |
commit | 9ae2e18fe6a25b9dfb0de3bd01916327c5c8a71a (patch) | |
tree | dcd70fcefe59d2a5b3a68988f1d29c4494ad15c4 /databaseReset.py | |
parent | 8ad791c594c478eb08b346f2efefc9adb7e72246 (diff) | |
download | troggle-9ae2e18fe6a25b9dfb0de3bd01916327c5c8a71a.tar.gz troggle-9ae2e18fe6a25b9dfb0de3bd01916327c5c8a71a.tar.bz2 troggle-9ae2e18fe6a25b9dfb0de3bd01916327c5c8a71a.zip |
delete redundant logbook dump
Diffstat (limited to 'databaseReset.py')
-rw-r--r-- | databaseReset.py | 13 |
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 |