~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-01-28 21:57:12 UTC
  • mfrom: (3966.2.3 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20090128215712-i4lsbqdybozsp19x
(Jelmer) Use registry for revision specifiers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
 
180
180
    # The help text is indented 4 spaces - this re cleans that up below
181
181
    indent_re = re.compile(r'^    ', re.MULTILINE)
182
 
    for i in bzrlib.revisionspec.SPEC_TYPES:
 
182
    for prefix, i in bzrlib.revisionspec.revspec_registry.iteritems():
183
183
        doc = i.help_txt
184
184
        if doc == bzrlib.revisionspec.RevisionSpec.help_txt:
185
185
            summary = "N/A"