~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics.py

  • Committer: John Arbash Meinel
  • Date: 2006-11-08 16:29:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: john@arbash-meinel.com-20061108162927-edda0731a0f1e0bc
Switch revisionspec to use the help defined as help_txt rather than the doc string

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
               "\n--------------------------\n")
90
90
 
91
91
    for i in bzrlib.revisionspec.SPEC_TYPES:
92
 
        doc = i.__doc__
93
 
        if doc == bzrlib.revisionspec.RevisionSpec.__doc__:
 
92
        doc = i.help_txt
 
93
        if doc == bzrlib.revisionspec.RevisionSpec.help_txt:
94
94
            doc = "N/A\n"
95
95
        while (doc[-2:] == '\n\n' or doc[-1:] == ' '):
96
96
            doc = doc[:-1]