/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 breezy/help_topics/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-12 17:53:47 UTC
  • mfrom: (6813 trunk)
  • mto: This revision was merged to the branch mainline in revision 6819.
  • Revision ID: jelmer@jelmer.uk-20171112175347-wovgaqmkbyo8fo7f
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
        else:
196
196
            # Extract out the top line summary from the body and
197
197
            # clean-up the unwanted whitespace
198
 
            summary,doc = doc.split("\n", 1)
 
198
            summary, doc = doc.split("\n", 1)
199
199
            #doc = indent_re.sub('', doc)
200
200
            while (doc[-2:] == '\n\n' or doc[-1:] == ' '):
201
201
                doc = doc[:-1]
221
221
       help_text = line_with_indent.join(help_lines)
222
222
       return "%-20s%s\n" % (proto, help_text)
223
223
 
224
 
    def sort_func(a,b):
 
224
    def sort_func(a, b):
225
225
        a1 = a[:a.rfind("://")]
226
226
        b1 = b[:b.rfind("://")]
227
227
        if a1>b1: