diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2020-07-20 22:53:26 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2020-07-20 22:53:26 +0100 |
commit | f131509c565edef455a5a9d89f176081d56038cc (patch) | |
tree | afb973555d80ff504b6bed2c0f0317e551641f18 /parsers | |
parent | 8e77a70ad608ca029785e4786cbaa6a776ae1dfe (diff) | |
download | troggle-f131509c565edef455a5a9d89f176081d56038cc.tar.gz troggle-f131509c565edef455a5a9d89f176081d56038cc.tar.bz2 troggle-f131509c565edef455a5a9d89f176081d56038cc.zip |
3dtopos to survexpos + comments
Diffstat (limited to 'parsers')
-rw-r--r-- | parsers/survex.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/parsers/survex.py b/parsers/survex.py index f058583..021244e 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -1165,6 +1165,9 @@ def FindAndLoadSurvex(survexblockroot): svx_load.survexdict[survexfileroot.survexdirectory] = [] svx_load.survexdict[survexfileroot.survexdirectory].append(survexfileroot) svx_load.svxdirs[""] = survexfileroot.survexdirectory + + # This next should be rewritten to use a generator so that only one + # line is held in memory at a time: with open(collatefilename, "r") as fcollate: svxlines = fcollate.read().splitlines() #---------------------------------------------------------------- |