From 67d9525c96f21995304725abe2f2d0db160edafd Mon Sep 17 00:00:00 2001 From: Stefan Haas Date: Thu, 28 Feb 2008 11:50:29 +0100 Subject: [PATCH] minor changes in zypp-api --- backends/zypp/zypp-utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/zypp/zypp-utils.cpp b/backends/zypp/zypp-utils.cpp index 4e8735870..f463bd360 100644 --- a/backends/zypp/zypp-utils.cpp +++ b/backends/zypp/zypp-utils.cpp @@ -70,7 +70,7 @@ zypp_build_pool (gboolean include_local) if (include_local == TRUE) { //FIXME have to wait for fix in zypp (repeated loading of target) - if (zypp::sat::Pool::instance().reposFind( zypp::sat::Pool::systemRepoName() ) == zypp::sat::Repo::norepo) + if (zypp::sat::Pool::instance().reposFind( zypp::sat::Pool::systemRepoName() ) == zypp::Repo::norepo) { // Add local resolvables zypp::Target_Ptr target = zypp->target (); @@ -91,7 +91,7 @@ zypp_build_pool (gboolean include_local) continue; //FIXME see above, skip already cached repos - if (zypp::sat::Pool::instance().reposFind( repo.alias ()) == zypp::sat::Repo::norepo) + if (zypp::sat::Pool::instance().reposFind( repo.alias ()) == zypp::Repo::norepo) manager.loadFromCache (repo); } } catch (const zypp::repo::RepoNoAliasException &ex) {