nixpkgs/pkgs/development/python-modules/m2r/docutils-0.19-compat.patch
2022-07-21 22:33:36 +02:00

16 lines
488 B
Diff

diff --git a/m2r.py b/m2r.py
index a4e43c2..fb9e588 100644
--- a/m2r.py
+++ b/m2r.py
@@ -10,8 +10,8 @@ from argparse import ArgumentParser, Namespace
from docutils import statemachine, nodes, io, utils
from docutils.parsers import rst
-from docutils.core import ErrorString
-from docutils.utils import SafeString, column_width
+from docutils.utils.error_reporting import ErrorString, SafeString
+from docutils.utils import column_width
import mistune
if sys.version_info < (3, ):