summaryrefslogtreecommitdiff
path: root/apt-pkg/sourcelist.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-18 20:51:03 +0100
committerMichael Vogt <mvo@debian.org>2014-01-18 20:51:03 +0100
commit6c069a2247781754bcc8574687cb98b493c6ab8a (patch)
tree53292a8c16b526c17d4978d63fcf7a2148832c3b /apt-pkg/sourcelist.cc
parent866e9fadf892368fcb50e6a192bcdd350cfe8e5c (diff)
rename "Suite/Section" to plural
Diffstat (limited to 'apt-pkg/sourcelist.cc')
-rw-r--r--apt-pkg/sourcelist.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/sourcelist.cc b/apt-pkg/sourcelist.cc
index 51b766095..4e580ba04 100644
--- a/apt-pkg/sourcelist.cc
+++ b/apt-pkg/sourcelist.cc
@@ -97,9 +97,9 @@ bool pkgSourceList::Type::ParseStanza(vector<metaIndex *> &List,
Options[option_internal[j]] = Tags.FindS(option_deb822[j]);
// now create one item per suite/section
- string Suite = Tags.FindS("Suite");
+ string Suite = Tags.FindS("Suites");
Suite = SubstVar(Suite,"$(ARCH)",_config->Find("APT::Architecture"));
- string const Section = Tags.FindS("Section");
+ string const Section = Tags.FindS("Sections");
std::vector<std::string> list_dist = StringSplit(Suite, " ");
std::vector<std::string> list_section = StringSplit(Section, " ");