Comment 1 for bug 440062

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 440062] [NEW] DeprecationWarnings not being suppressed in 2.0.0 release

> === modified file 'bzrlib/commands.py'
> - --- bzrlib/commands.py  2009-06-19 09:06:56 +0000
> +++ bzrlib/commands.py  2009-10-01 15:59:00 +0000
> @@ -1090,7 +1090,7 @@
>
>     # Is this a final release version? If so, we should suppress warnings
>     if bzrlib.version_info[3] == 'final':
> - -        suppress_deprecation_warnings(override=False)
> +        suppress_deprecation_warnings(override=True)
>     if argv is None:
>         argv = osutils.get_unicode_argv()
>     else:

It seems reasonable to me. I don't recall why we do that - perhaps for testing.

--
Martin <http://launchpad.net/~mbp/>