File: no-local-roman.diff

package info (click to toggle)
python-docutils 0.14%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,976 kB
  • sloc: python: 44,718; lisp: 14,476; xml: 1,782; sh: 167; makefile: 150
file content (25 lines) | stat: -rw-r--r-- 1,020 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Michael Schutte <michi@debian.org>
Date: Thu, 8 Oct 2015 11:57:10 -0700
Subject: Use the "roman" module from python-roman instead of the local copy.

Forwarded: not-needed
Last-Update: 2017-09-19
---
 docutils/parsers/rst/states.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docutils/parsers/rst/states.py b/docutils/parsers/rst/states.py
index fa4c507..c590afa 100644
--- a/docutils/parsers/rst/states.py
+++ b/docutils/parsers/rst/states.py
@@ -116,8 +116,9 @@ import docutils.parsers.rst
 from docutils.parsers.rst import directives, languages, tableparser, roles
 from docutils.parsers.rst.languages import en as _fallback_language_module
 from docutils.utils import escape2null, unescape, column_width
-from docutils.utils import punctuation_chars, roman, urischemes
+from docutils.utils import punctuation_chars, urischemes
 from docutils.utils import split_escaped_whitespace
+import roman
 
 class MarkupError(DataError): pass
 class UnknownInterpretedRoleError(DataError): pass