~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/bzr_epydoc

  • Committer: John Arbash Meinel
  • Date: 2007-10-17 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 2918.
  • Revision ID: john@arbash-meinel.com-20071017170306-20w50sk1djh0i14k
Switch around to properly look up the executable bit in the basis.
We do this with a load-time switch around supports_executable(), rather than
a runtime if supports_executable() check.
It would be nice to inline the _is_executable_* check on platforms that support
executable, but we had a function call before, so we haven't degraded
performance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
#
 
3
# Call the command line interface for Epydoc.
 
4
#
 
5
 
 
6
"""Wrapper around Epydoc that just makes it understand bzr's lazy imports."""
 
7
 
 
8
# This will enable the lazy_import compatibility code
 
9
import bzr_epydoc_uid
 
10
 
 
11
from epydoc.cli import cli
 
12
cli()
 
13
 
 
14