From d2592582f654dc483239cf0eb0a8d0a6eb469e8a Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Thu, 10 Sep 2009 16:27:52 +0200 Subject: [PATCH] Perform Resolver::doUpgrade even if target is not initialized. It's sufficient if a targets solv file is present in the pool, as if used with testcases. --- zypp/solver/detail/ResolverUpgrade.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zypp/solver/detail/ResolverUpgrade.cc b/zypp/solver/detail/ResolverUpgrade.cc index ae079b8..d914654 100644 --- a/zypp/solver/detail/ResolverUpgrade.cc +++ b/zypp/solver/detail/ResolverUpgrade.cc @@ -67,8 +67,7 @@ Resolver::doUpgrade() Target_Ptr target( getZYpp()->getTarget() ); if ( ! target ) { - ERR << "Huh, no target ?" << endl; - return false; // can't continue without target + WAR << "Huh, no target ?" << endl; } // Setting Resolver to upgrade mode. SAT solver will do the update -- 2.7.4