~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help.py

  • Committer: Martin Pool
  • Date: 2009-06-10 02:22:58 UTC
  • mto: This revision was merged to the branch mainline in revision 4464.
  • Revision ID: mbp@sourcefrog.net-20090610022258-czra1150uv22976i
textwrap break_on_hyphens option is not available in python2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        lines = textwrap.wrap(
98
98
            helpstring, subsequent_indent=indent,
99
99
            width=width,
100
 
            break_long_words=False,
101
 
            break_on_hyphens=False)
 
100
            break_long_words=False)
102
101
        for line in lines:
103
102
            out.append(line + '\n')
104
103
    return ''.join(out)