From f1bc54279b6f2a9b8848196044ba5312e2af9aaf Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Tue, 18 Feb 2014 22:54:41 +0100 Subject: config: Don't pull in config defaults twice This would otherwise overwrite values set in the legacy config sections. Closes: #733759 --- tests/test_Config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_Config.py') diff --git a/tests/test_Config.py b/tests/test_Config.py index 9a68f8c..2bae765 100644 --- a/tests/test_Config.py +++ b/tests/test_Config.py @@ -72,7 +72,7 @@ def test_parser_fallback(): >>> confname = os.path.join(tmpdir, 'gbp.conf') >>> parser.config_files = [confname] >>> f = open(confname, 'w') - >>> f.write('[foo]\\nthere = is\\n[git-foo]\\nno = truth\\n') + >>> f.write('[DEFAULT]\\nthere = was\\n[foo]\\nthere = is\\n[git-foo]\\nno = truth\\n') >>> f.close() >>> parser._parse_config_files() >>> parser.config['there'] -- cgit v1.2.3