Mailinglist Archive: zypp-commit (275 mails)
| < Previous | Next > |
[zypp-commit] <libzypp> ma-misc : Perform Resolver::doUpgrade even if target is not initialized.
- From: Michael Andres <ma@xxxxxxx>
- Date: Thu, 10 Sep 2009 16:27:52 +0200
- Message-id: <E1N4M8W-0004Xr-Ux@xxxxxxxxxxxxxxxx>
ref: refs/heads/ma-misc
commit d2592582f654dc483239cf0eb0a8d0a6eb469e8a
Author: Michael Andres <ma@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
commit d2592582f654dc483239cf0eb0a8d0a6eb469e8a
Author: Michael Andres <ma@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
| < Previous | Next > |