depot/third_party/nixpkgs/pkgs/development/python-modules/m2r/docutils-0.19-compat.patch
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

15 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, ):