fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop lots of legacy code. Support Python 3.7-3.11.
[librarian.git]
/
src
/
librarian
/
elements
/
poetry
/
strofa.py
diff --git
a/src/librarian/elements/poetry/strofa.py
b/src/librarian/elements/poetry/strofa.py
index
a843d20
..
7ce3f3a
100644
(file)
--- a/
src/librarian/elements/poetry/strofa.py
+++ b/
src/librarian/elements/poetry/strofa.py
@@
-1,3
+1,6
@@
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
from copy import copy
import re
from ..base import WLElement
from copy import copy
import re
from ..base import WLElement
@@
-5,6
+8,8
@@
from .wers import Wers
class Strofa(WLElement):
class Strofa(WLElement):
+ SHOULD_HAVE_ID = True
+
TXT_TOP_MARGIN = 2
TXT_BOTTOM_MARGIN = 2
TXT_LEGACY_TOP_MARGIN = 1
TXT_TOP_MARGIN = 2
TXT_BOTTOM_MARGIN = 2
TXT_LEGACY_TOP_MARGIN = 1