From 4a0496b3b4946e8e13130107040c8f235f30f488 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 31 Jan 2025 01:51:22 +0000 Subject: begun to do fields, blue --- parsers/caves.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'parsers/caves.py') diff --git a/parsers/caves.py b/parsers/caves.py index db1b949..48c464f 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -379,6 +379,9 @@ def getXML(text, itemname, minItems=1, maxItems=None, context=""): This always succeeds, but it produces error message on the terminal and in the DataIssues log. + + Yes this is using the python2 style of string expansion and not f-expressions. + Sorry. This is very old. """ items = re.findall("<%(itemname)s>(.*?)" % {"itemname": itemname}, text, re.S) if len(items) < minItems: -- cgit v1.2.3