/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/rst2prettyhtml.py

  • Committer: v.ladeuil+lp at free
  • Date: 2006-12-22 09:54:52 UTC
  • mto: (2215.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2216.
  • Revision ID: v.ladeuil+lp@free.fr-20061222095452-fmuqmnmokmsxeiqu
Workaround SimpleHTTPRequestHandler.translate_path limitation in
python 2.4.1

* bzrlib/tests/HTTPTestUtil.py:
(FakeProxyRequestHandler.do_GET): Work around a limitation of
SimpleHTTPRequestHandler.translate_path in python 2.4.1 (fixed in
2.4.3).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
 
1
#!/usr/bin/env python2.4
2
2
 
3
3
import errno
4
4
import os
66
66
 
67
67
assert len(sys.argv) > 1
68
68
 
69
 
# Strip options so only the arguments are passed
70
 
args = [x for x in sys.argv[1:] if not x.startswith('-')]
71
 
main(*args)
 
69
main(*sys.argv[1:])
 
70