/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

  • Committer: Ian Clatworthy
  • Date: 2009-09-01 12:29:54 UTC
  • mto: (4634.22.1 integration-2.0)
  • mto: This revision was merged to the branch mainline in revision 4676.
  • Revision ID: ian.clatworthy@canonical.com-20090901122954-0x3rfufmldxw58ud
Tweak hook help to only report deprecation information if actually deprecated

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))