diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-07-03 20:09:17 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-07-03 20:09:17 +0200 |
commit | b8ad551295c70a882b629ee94668e8ea527d1a7d (patch) | |
tree | 2c4b55d3a58322a9c4598becca89b8cbd797dc83 /cmdline/cacheset.cc | |
parent | c8db3fff877f102dc6fb62c4e4c7f700160b68f5 (diff) |
Refactor TryToInstall to look a bit saner by splitting the Remove
and the Virtual packages part out of the loop.
The function still exists unchanged as TryToInstallBuildDep through
for the BuildDep installation method
Diffstat (limited to 'cmdline/cacheset.cc')
-rw-r--r-- | cmdline/cacheset.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmdline/cacheset.cc b/cmdline/cacheset.cc index 4d6d6a87c..b96b60450 100644 --- a/cmdline/cacheset.cc +++ b/cmdline/cacheset.cc @@ -323,7 +323,6 @@ APT::VersionSet VersionSet::FromString(pkgCacheFile &Cache, std::string pkg, errors = helper.showErrors(false); for (PackageSet::const_iterator P = pkgset.begin(); P != pkgset.end(); ++P) { - helper.canNotFindCandidateVer(Cache, P); if (vertag == string::npos) { verset.insert(VersionSet::FromPackage(Cache, P, fallback, helper)); continue; |