~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/rst2prettyhtml.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-11-16 17:59:07 UTC
  • mfrom: (2127.4.1 win.console.cp0)
  • Revision ID: pqm@pqm.ubuntu.com-20061116175907-57fe66263308d365
(jam, bialix) Workaround for cp0 console encoding on Windows.

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