~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/doc_generate/__init__.py

  • Committer: James Blackwell
  • Date: 2005-12-12 01:26:27 UTC
  • mto: (1185.50.63 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: jblack@pluto-20051212012627-a5637b074fce751b
Final wrapup on doc generation

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
import sys
26
26
 
27
 
def generate(target):
28
 
    mod_name = "doc_generate.autodoc_%s" % (target)
 
27
def get_module(target):
 
28
    mod_name = "tools.doc_generate.autodoc_%s" % (target)
29
29
    mod = __import__(mod_name)
30
30
    components = mod_name.split('.')
31
31
    for comp in components[1:]: