diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-31 01:51:22 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-31 01:51:22 +0000 |
commit | 4a0496b3b4946e8e13130107040c8f235f30f488 (patch) | |
tree | 17e90db2ba1f9bb4a691efbb7ddfab9b681397f2 /parsers/caves.py | |
parent | e080610010917e1865df5fb612f7c3011ad7f9e0 (diff) | |
download | troggle-4a0496b3b4946e8e13130107040c8f235f30f488.tar.gz troggle-4a0496b3b4946e8e13130107040c8f235f30f488.tar.bz2 troggle-4a0496b3b4946e8e13130107040c8f235f30f488.zip |
begun to do fields, blue
Diffstat (limited to 'parsers/caves.py')
-rw-r--r-- | parsers/caves.py | 3 |
1 files changed, 3 insertions, 0 deletions
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)s>" % {"itemname": itemname}, text, re.S) if len(items) < minItems: |