2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 18:47:18 +00:00

removing voluminous, unneeded debug printout

This commit is contained in:
2025-07-27 20:11:30 +02:00
parent 57fb3a0078
commit 1bae6c6cd1

View File

@@ -26,8 +26,6 @@ todo = """
easier to understand and maintain
https://mathspp.com/blog/til/re-match-groupdict
- replace hard-coded instuments list with reading an editable textfile in expoweb.
- Obscure bug in the *team inheritance and rootblock initialization needs tracking down,
probably in the team cache which should NOT be global, but should be an instance variable of
LoadingSurvex
@@ -737,7 +735,6 @@ class LoadingSurvex:
splayalias = re.match(r"(?i)\s*station\s*\-\s*\.\.\s*$", line)
if splayalias:
self.flagsstar["splayalias"] = True
print(f"==splayalias {line} in {survexblock=} {survexblock.survexfile.path=}")
else:
message = f"! Bad *ALIAS: '{line}' ({survexblock}) {survexblock.survexfile.path}"
print(self.insp + message)
@@ -1660,7 +1657,7 @@ class LoadingSurvex:
refline = self.rx_commref.match(comment)
if refline:
comment = self.rx_ref2.sub("", comment.strip())
print(f"{self.depthbegin:2}{depth} - rx_ref2 -- {comment=} in {survexblock.survexfile.path} :: {survexblock}")
# print(f"{self.depthbegin:2}{depth} - rx_ref2 -- {comment=} in {survexblock.survexfile.path} :: {survexblock}")
self.LoadSurvexRef(survexblock, comment)
# handle
@@ -1947,7 +1944,7 @@ class LoadingSurvex:
message=message,
)
else:
if cmd not in ["equate", "export", "instrument", "calibrate", "cs", "require", "declination", "infer", "case"]:
if cmd not in ["equate", "export", "instrument", "calibrate", "cs", "require", "declination", "infer", "case", "sd"]:
print(f"FALLTHROUGH *{cmd=} {survexblock=} {survexblock.parent=}")
self.LoadSurvexFallThrough(survexblock, args, cmd)