ref: refs/heads/ma-misc
commit d2592582f654dc483239cf0eb0a8d0a6eb469e8a
Author: Michael Andres
Date: Thu Sep 10 16:27:52 2009 +0200
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 files changed, 1 insertions(+), 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
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org