mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 10:06:40 -04:00
- Bump PORTREVISION for package change from [1]: In addition, the md_globals parameter of Markdown.extensions.Extension.extendMarkdown() is no longer recognized as a valid parameter and will raise an error if provided. Reference: https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md [1]
11 lines
432 B
Text
11 lines
432 B
Text
--- yarnlib/mdparser.py.orig 2019-11-28 08:54:47 UTC
|
|
+++ yarnlib/mdparser.py
|
|
@@ -55,7 +55,7 @@ class GatherCodeBlocks(Treeprocessor):
|
|
|
|
class ParseScenarioTestBlocks(markdown.extensions.Extension):
|
|
|
|
- def extendMarkdown(self, md, md_globals):
|
|
+ def extendMarkdown(self, md):
|
|
self.blocks = []
|
|
self.gatherer = GatherCodeBlocks(self.blocks)
|
|
md.treeprocessors.add('gathercode', self.gatherer, '_end')
|