From 345d6be7829c6dab359390ebc5e1a7ae0c6d48bb Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 19 Oct 2009 20:17:36 +0200 Subject: config: fixed serious issues that would cause it to see initial tabs as continuation lines - this leads to very incorrect results when parsing git config files. Now the complete reading is overridden to make it work as there was no other way --- test/git/test_config.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/git/test_config.py') diff --git a/test/git/test_config.py b/test/git/test_config.py index c5a8dc2c..843da723 100644 --- a/test/git/test_config.py +++ b/test/git/test_config.py @@ -77,6 +77,8 @@ class TestBase(TestCase): num_options += 1 val = r_config.get(section, option) assert val + assert "\n" not in option + assert "\n" not in val # writing must fail self.failUnlessRaises(IOError, r_config.set, section, option, None) -- cgit v1.2.3