~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

merge improved hooks doc

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