~netlandish/django-wiki

9da59ba4a256140478cbd4d5d4349d7870d01513 — Benjamin Bach 6 years ago 4e88ac8 + ab8a336
Merge pull request #824 from atombrella/super_super

Replaced markdown.Markdown.__init__ with super().__init__.
2 files changed, 2 insertions(+), 2 deletions(-)

M src/wiki/core/markdown/__init__.py
M src/wiki/plugins/links/mdx/djangowikilinks.py
M src/wiki/core/markdown/__init__.py => src/wiki/core/markdown/__init__.py +1 -1
@@ 12,7 12,7 @@ class ArticleMarkdown(markdown.Markdown):
    def __init__(self, article, preview=False, user=None, *args, **kwargs):
        kwargs.update(settings.MARKDOWN_KWARGS)
        kwargs['extensions'] = self.get_markdown_extensions()
        markdown.Markdown.__init__(self, *args, **kwargs)
        super().__init__(*args, **kwargs)
        self.article = article
        self.preview = preview
        self.user = user

M src/wiki/plugins/links/mdx/djangowikilinks.py => src/wiki/plugins/links/mdx/djangowikilinks.py +1 -1
@@ 58,7 58,7 @@ class WikiPathExtension(markdown.Extension):
class WikiPath(markdown.inlinepatterns.Pattern):

    def __init__(self, pattern, config, **kwargs):
        markdown.inlinepatterns.Pattern.__init__(self, pattern, **kwargs)
        super().__init__(pattern, **kwargs)
        self.config = config

    def handleMatch(self, m):