~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/doc_generate/__init__.py

  • Committer: Alexander Belchenko
  • Date: 2006-07-30 16:43:12 UTC
  • mto: (1711.2.111 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1906.
  • Revision ID: bialix@ukr.net-20060730164312-b025fd3ff0cee59e
rename  gpl.txt => COPYING.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 Canonical Ltd
 
1
#!/usr/bin/python
 
2
 
 
3
# Copyright 2005 Canonical Ltd.
 
4
# Written by Hans Ulrich Niedermann
2
5
#
3
6
# This program is free software; you can redistribute it and/or modify
4
7
# it under the terms of the GNU General Public License as published by
12
15
#
13
16
# You should have received a copy of the GNU General Public License
14
17
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
18
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
19
 
 
20
"""tools/doc_generate/__init__.py - main program for bzr information generation stuff"""
17
21
 
18
22
import sys
19
23
 
20
24
 
21
25
def get_module(target):
22
 
    mod_name = "bzrlib.doc_generate.autodoc_%s" % (target)
 
26
    mod_name = "tools.doc_generate.autodoc_%s" % (target)
23
27
    mod = __import__(mod_name)
24
28
    components = mod_name.split('.')
25
29
    for comp in components[1:]: