~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.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:
222
222
        strings.append('Deprecated in: %s' % deprecated_string)
223
223
        strings.append('')
224
224
        strings.extend(textwrap.wrap(self.__doc__,
225
 
            break_long_words=False,
226
 
            break_on_hyphens=False))
 
225
            break_long_words=False))
227
226
        strings.append('')
228
227
        return '\n'.join(strings)
229
228