~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4840.2.6.

  • Committer: Vincent Ladeuil
  • Date: 2009-12-15 15:33:49 UTC
  • mto: (4905.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4906.
  • Revision ID: v.ladeuil+lp@free.fr-20091215153349-lsc6sjk57hvj11fc
Implement config.suppress_warning.

* bzrlib/tests/test_config.py:
(TestSupressWarning): Test suppress_warning for known and unkwnon
warnings.

* bzrlib/config.py:
(Config.suppress_warning): Check whether or not the given warning
is configured.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: