~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

  • Committer: Ian Clatworthy
  • Date: 2009-09-04 02:58:22 UTC
  • mfrom: (4634.21.1 422415)
  • mto: (4634.6.18 2.0)
  • mto: This revision was merged to the branch mainline in revision 4676.
  • Revision ID: ian.clatworthy@canonical.com-20090904025822-fp6x8m38ihh9bdg4
(igc) tweak help for hooks

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
224
        strings.extend(textwrap.wrap(self.__doc__,
227
225
            break_long_words=False))