summaryrefslogtreecommitdiffstats
path: root/parsers/survex.py
diff options
context:
space:
mode:
authorWookey <wookey@wookware.org>2019-04-02 00:57:54 +0100
committerWookey <wookey@wookware.org>2019-04-02 00:57:54 +0100
commitb3089fafe99d4fffc9ee96ad1a8d70d0dd242f80 (patch)
tree9c6bb4a4530824c8e072984a0346509298188030 /parsers/survex.py
parente913a56a6be2e2d90ba0c6f882416acbd8e3e2a2 (diff)
parent39c61bd526ecaff42650efcd011548aa9dac6900 (diff)
downloadtroggle-b3089fafe99d4fffc9ee96ad1a8d70d0dd242f80.tar.gz
troggle-b3089fafe99d4fffc9ee96ad1a8d70d0dd242f80.tar.bz2
troggle-b3089fafe99d4fffc9ee96ad1a8d70d0dd242f80.zip
Merge lots of troggle fixes
Diffstat (limited to 'parsers/survex.py')
-rw-r--r--parsers/survex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/survex.py b/parsers/survex.py
index 536314f..a999c43 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -92,13 +92,13 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines):
teammembers = [ ]
# uncomment to print out all files during parsing
- print("Reading file:", survexblock.survexfile.path)
+ print("Reading file: " + survexblock.survexfile.path)
while True:
svxline = fin.readline().decode("latin1")
if not svxline:
return
textlines.append(svxline)
-
+
# break the line at the comment
sline, comment = re.match(r"([^;]*?)\s*(?:;\s*(.*))?\n?$", svxline.strip()).groups()