/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: Martin Pool
  • Date: 2007-06-13 09:28:40 UTC
  • mto: This revision was merged to the branch mainline in revision 2531.
  • Revision ID: mbp@sourcefrog.net-20070613092840-0v9ph8iklj52agdj
Fix race in test_breakin_harder that can cause test suite hang.
We don't know quite when the subprocess is ready to receive a signal,
so send it a few times til it has an effect.  (#119566)

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