~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/doc_generate/__init__.py

  • Committer: Martin Pool
  • Date: 2009-06-16 04:28:19 UTC
  • mto: This revision was merged to the branch mainline in revision 4464.
  • Revision ID: mbp@sourcefrog.net-20090616042819-adz0sq9ct1ls8rrl
Move tools.doc_generate into bzrlib

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# along with this program; if not, write to the Free Software
18
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
19
 
20
 
"""tools/doc_generate/__init__.py - main program for bzr information generation stuff"""
21
20
 
22
21
import sys
23
22
 
24
23
 
25
24
def get_module(target):
26
 
    mod_name = "doc_generate.autodoc_%s" % (target)
 
25
    mod_name = "bzrlib.doc_generate.autodoc_%s" % (target)
27
26
    mod = __import__(mod_name)
28
27
    components = mod_name.split('.')
29
28
    for comp in components[1:]: