~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_man.py

  • Committer: bialix at ukr
  • Date: 2007-03-02 23:53:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2318.
  • Revision ID: bialix@ukr.net-20070302235316-8n8d4osjeha5c4ge
Fix for selftest of man generator with instaled plugin 'htmllog' (no help for plugin's log formatter)

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
                if short_name:
118
118
                    assert len(short_name) == 1
119
119
                    l += ', -' + short_name
120
 
                l += (30 - len(l)) * ' ' + help
 
120
                l += (30 - len(l)) * ' ' + (help or '')
121
121
                # TODO: Split help over multiple lines with
122
122
                # correct indenting and wrapping.
123
123
                wrapped = textwrap.fill(l, initial_indent='',