summaryrefslogtreecommitdiff
path: root/apt-pkg/metaindex.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-11-09 19:57:21 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-11-09 19:57:21 +0100
commitd96c997ebeab76f690564fc1c93a35b1a885adf5 (patch)
tree322387ec9bf3f368f89f4b39d558efb6e8f4931b /apt-pkg/metaindex.cc
parent34b491e735ad47c4805e63f3b83a659b8d10262b (diff)
show the conflicting distribution warning again
Sometimes you should really act upon your todos. Especially if you have placed them directly in the code. Closes: 841874
Diffstat (limited to 'apt-pkg/metaindex.cc')
-rw-r--r--apt-pkg/metaindex.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-pkg/metaindex.cc b/apt-pkg/metaindex.cc
index 6e5792b78..281824855 100644
--- a/apt-pkg/metaindex.cc
+++ b/apt-pkg/metaindex.cc
@@ -65,8 +65,7 @@ APT_PURE bool metaIndex::CheckDist(string const &MaybeDist) const
}
APT_PURE std::string metaIndex::GetExpectedDist() const
{
- // TODO: Used to be an explicit value set in the constructor
- return "";
+ return Dist;
}
/*}}}*/
APT_PURE metaIndex::checkSum *metaIndex::Lookup(string const &MetaKey) const /*{{{*/