mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-28 07:47:28 -08:00
Closes: https://bugs.gentoo.org/662640 Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
23 lines
645 B
Diff
23 lines
645 B
Diff
# HG changeset patch
|
|
# User WAKAYAMA Shirou <shirou.faw@gmail.com>
|
|
# Date 1500298269 -32400
|
|
# Node ID 1a78f58afb5066cf35b04676d0d5ffbb18d5d540
|
|
# Parent 7941677dc77d4f2bf0bbd6140ade85a9454b8b80
|
|
Change to docutils.parsers in sphinxext.
|
|
|
|
From Sphinx 1.7, sphinx.utils.compat will be removed.
|
|
|
|
diff --git a/pygments/sphinxext.py b/pygments/sphinxext.py
|
|
--- a/pygments/sphinxext.py
|
|
+++ b/pygments/sphinxext.py
|
|
@@ -16,7 +16,7 @@
|
|
|
|
from docutils import nodes
|
|
from docutils.statemachine import ViewList
|
|
-from sphinx.util.compat import Directive
|
|
+from docutils.parsers.rst import Directive
|
|
from sphinx.util.nodes import nested_parse_with_titles
|
|
|
|
|
|
|