/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/rst2html.py

  • Committer: Vincent Ladeuil
  • Date: 2007-12-21 12:20:33 UTC
  • mto: (3146.3.1 179368) (3156.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3158.
  • Revision ID: v.ladeuil+lp@free.fr-20071221122033-42bc21re0zj4kqbg
Merge back test_http_implementations.pc into test_http.py.

* bzrlib/tests/test_http.py: 
Merge test_http_implementations.py now that we have rewritten
load_tests. That should reduce the noise in the final proposed
patch.

* bzrlib/tests/http_server.py:
(TestingHTTPRequestHandler.log_message): Ghaaa, don't over spell-check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
A minimal front end to the Docutils Publisher, producing HTML.
11
11
"""
12
12
 
 
13
# modified version for 
 
14
 
13
15
try:
14
16
    import locale
15
17
    locale.setlocale(locale.LC_ALL, '')
19
21
import docutils
20
22
from docutils.core import publish_cmdline, default_description
21
23
 
22
 
if True: # this is still required in the distutils trunk as-at June 2008.
 
24
 
 
25
if docutils.__version__ <= '0.4.1':
23
26
    from docutils.parsers.rst.states import Body
24
27
    # we have some option names that contain dot; which is not allowed by
25
28
    # python-docutils 0.4-4 -- so monkeypatch in a better pattern