branch | stable |
changeset 16611 | 462dd183bd73 |
parent 14764 | a7d5816087a9 |
child 16686 | 67964cda8701 |
--- a/doc/hgmanpage.py Sat May 05 12:21:22 2012 +0200 +++ b/doc/hgmanpage.py Tue May 08 23:59:39 2012 +0400 @@ -47,7 +47,10 @@ import re from docutils import nodes, writers, languages -import roman +try: + import roman +except ImportError: + from docutils.utils import roman import inspect FIELD_LIST_INDENT = 7