summaryrefslogtreecommitdiffstats
path: root/logbooksdump.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-07-18 16:23:54 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-07-18 16:23:54 +0100
commitedd5a3efd901df68243372f46087d96d4fbf7715 (patch)
tree037682c9ad9a85c2de8532c5623bf750c12dee5b /logbooksdump.py
parent90dfa516da857f300bd0ff483ebf7a412934bbcf (diff)
downloadtroggle-edd5a3efd901df68243372f46087d96d4fbf7715.tar.gz
troggle-edd5a3efd901df68243372f46087d96d4fbf7715.tar.bz2
troggle-edd5a3efd901df68243372f46087d96d4fbf7715.zip
Module documentation docstrings
Diffstat (limited to 'logbooksdump.py')
-rw-r--r--logbooksdump.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/logbooksdump.py b/logbooksdump.py
index 4fdcf0c..6877afd 100644
--- a/logbooksdump.py
+++ b/logbooksdump.py
@@ -3,6 +3,12 @@ import time
import timeit
import settings
+"""Two currently unused functions. To be re-engineered to produce a logbook file
+in canonical post-2010 Parseloghtmltxt() format after importing from one of the
+older more artisanal formats which will then be retired. For example, 2003 used
+a unique HTML format and we should regularise this and deprecate the unique parser
+code Parseloghtml03().
+"""
os.environ['PYTHONPATH'] = settings.PYTHON_PATH
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
@@ -34,6 +40,7 @@ def import_auto_logbooks():
print((os.path.join(root, filename)))
parsers.logbooks.parseAutoLogBookEntry(os.path.join(root, filename))
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#Temporary function until definitive source of data transfered.
from django.template.defaultfilters import slugify
from django.template import Context, loader