~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

  • Committer: Gordon Tyler
  • Date: 2010-01-14 15:24:04 UTC
  • mto: (5037.3.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5046.
  • Revision ID: gordon@doxxx.net-20100114152404-d64ik2afl96lcml0
Reverted changes to test_rules since the original should work now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
        strings.append('Introduced in: %s' % introduced_string)
220
220
        if self.deprecated:
221
221
            deprecated_string = _format_version_tuple(self.deprecated)
222
 
        else:
223
 
            deprecated_string = 'Not deprecated'
224
 
        strings.append('Deprecated in: %s' % deprecated_string)
 
222
            strings.append('Deprecated in: %s' % deprecated_string)
225
223
        strings.append('')
226
 
        strings.extend(textwrap.wrap(self.__doc__))
 
224
        strings.extend(textwrap.wrap(self.__doc__,
 
225
            break_long_words=False))
227
226
        strings.append('')
228
227
        return '\n'.join(strings)
229
228