summaryrefslogtreecommitdiffstats
path: root/parsers/caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/caves.py')
-rw-r--r--parsers/caves.py3
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: