~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3418.2.1.

  • Committer: Vincent Ladeuil
  • Date: 2008-05-09 08:32:29 UTC
  • mto: (3418.3.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3420.
  • Revision ID: v.ladeuil+lp@free.fr-20080509083229-qkckif6lzloq3cau
Fix #217650 by catching declarations outside sections.

* bzrlib/tests/test_config.py:
Split test_broken_config for a better defalt localization.
(TestAuthenticationConfigFile.test_missing_auth_section_header):
Test for declarations outside any section.

* bzrlib/config.py:
(AuthenticationConfig.get_credentials): Catch definitions outside
sections.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: