diff options
-rw-r--r-- | parsers/survex.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/parsers/survex.py b/parsers/survex.py index 22f5ef5..5338148 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -13,7 +13,7 @@ from troggle.core.models.logbooks import QM from troggle.core.models.survex import SurvexBlock, SurvexFile, SurvexPersonRole, SurvexStation from troggle.core.models.troggle import DataIssue, Expedition from troggle.core.models.wallets import Wallet -from troggle.core.utils import chaosmonkey, get_process_memory, write_and_commit +from troggle.core.utils import chaosmonkey, get_process_memory from troggle.parsers.caves import AREACODES, ARGEAREAS, create_new_cave, do_ARGE_cave from troggle.parsers.people import GetPersonExpeditionNameLookup, known_foreigner @@ -1374,12 +1374,6 @@ class LoadingSurvex: print("\n",message,file=sys.stderr) stash_data_issue(parser="survex", message=message) - # try: - # cave_file = cave.file_output() - # write_and_commit([cave_file], f"{cave} Update of cave.survex_file when parsing {svxid}.svx") - # except - # raise - if not newfile.primary: message = f" ! .primary NOT SET in new SurvexFile {svxid} " print(message) |