summaryrefslogtreecommitdiff
path: root/helpers.py
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2022-02-23 20:29:50 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2022-02-23 21:04:27 +0100
commita3b76e82d935d78e41aa54c3228dbd6fb9e36fc1 (patch)
tree9f528b27708f510327f4ad45ec7926178d0c79e4 /helpers.py
parentcd1fde0ab2914ae44f1872927dbbe6fc19d63743 (diff)
downloadquatuorbellefeuille.com-a3b76e82d935d78e41aa54c3228dbd6fb9e36fc1.tar.xz
Fix instructions HTMLization & tidy up
Thank Humanity for linters.
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers.py b/helpers.py
index a6c4de2..11a13ca 100644
--- a/helpers.py
+++ b/helpers.py
@@ -43,6 +43,7 @@ _LICENSE_RE = re.compile(
'('+'|'.join(_LICENSE_URLS.keys())+')' + ' ([0-9.]+)'
)
+
@dataclass
class LicenseInfo:
tag: str
@@ -103,6 +104,7 @@ class Concert:
def _optional(line):
return f'(?:{line})?'
+
_CONCERT_LINES = (
r'QUAND : (?P<time>[^\n]+)\n',
r'O[UÙ] : (?P<place>[^\n]+)\n',