From f6459e646f6fa45c34d1f13f37173ea4b92ffd5f Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 2 Jan 2016 13:27:02 +0100 Subject: properly parse comments in apt_preferences and deb822-style sources apt_preferences and deb822-style sources used the specialized class pkgUserTagSection to deal with comments before/after a given stanza, but it couldn't deal with comments in the stanza at all. codesearch suggests that nobody else does and a vastely superior way of working with potentially commented files is implemented now, so we can officially discourage the use of the old incomplete hack class. --- test/integration/test-apt-sources-deb822 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/integration/test-apt-sources-deb822') diff --git a/test/integration/test-apt-sources-deb822 b/test/integration/test-apt-sources-deb822 index 5b22eaa80..fd275f978 100755 --- a/test/integration/test-apt-sources-deb822 +++ b/test/integration/test-apt-sources-deb822 @@ -15,10 +15,12 @@ BASE='# some comment #Types: meep Types: deb +#Types: deb-src URIs: http://ftp.debian.org/debian Suites: stable Components: main Description: summay +# comments are ignored and the long part' msgcleantest() { -- cgit v1.2.3