mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 18:37:18 +00:00
NOEDIT fixed
This commit is contained in:
@@ -972,7 +972,10 @@ class LoadingSurvex:
|
||||
survexleg = None
|
||||
|
||||
def LoadSurvexRef(self, survexblock, args):
|
||||
"""Interpret the *ref record, and all the many variants"""
|
||||
"""Interpret the *ref record, and all the many variants
|
||||
the 'letter' was X for electronic wallets but we no longer do this. So the code
|
||||
that handles 'letter' can be removed.
|
||||
"""
|
||||
# print(self.insp+ "*REF ---- '"+ args +"'")
|
||||
url = get_offending_filename(survexblock.survexfile.path)
|
||||
# *REF but also ; Ref years from 1960 to 2039
|
||||
@@ -1002,6 +1005,9 @@ class LoadingSurvex:
|
||||
letterx = ""
|
||||
else:
|
||||
letterx = "X"
|
||||
message = f" ! Wallet *REF has LETTER in '{survexblock.survexfile.path}' malformed id '{args}' {perps}"
|
||||
print(self.insp + message)
|
||||
stash_data_issue(parser="survex", message=message, url=url)
|
||||
if len(wallet) < 2:
|
||||
wallet = "0" + wallet
|
||||
if not (int(yr) > 1960 and int(yr) < 2050):
|
||||
|
||||
Reference in New Issue
Block a user