/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/generate_docs.py

  • Committer: Jelmer Vernooij
  • Date: 2017-08-29 21:29:35 UTC
  • mfrom: (6754.8.21 lock-context-2)
  • mto: This revision was merged to the branch mainline in revision 6784.
  • Revision ID: jelmer@jelmer.uk-20170829212935-lakl2jhq9sqckejp
Merge lock-context-2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
40
40
 
41
 
# Don't remove the following import, it triggers a format registration that
42
 
# avoid http://pad.lv/956860
43
 
import breezy.bzr
 
41
import breezy
44
42
from breezy import (
45
43
    commands,
46
44
    doc_generate,
79
77
        sys.exit(1)
80
78
 
81
79
    with breezy.initialize():
 
80
        # Import breezy.bzr for format registration, see <http://pad.lv/956860>
 
81
        from breezy import bzr as _
82
82
        commands.install_bzr_command_hooks()
83
83
        infogen_type = args[1]
84
84
        infogen_mod = doc_generate.get_module(infogen_type)