projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5abd9c
)
taking item.status istead of fixed statis
author
Stefan Schubert
<schubi@suse.de>
Wed, 8 Feb 2006 22:10:02 +0000
(22:10 +0000)
committer
Stefan Schubert
<schubi@suse.de>
Wed, 8 Feb 2006 22:10:02 +0000
(22:10 +0000)
zypp/solver/detail/ResolverContext.cc
patch
|
blob
|
history
diff --git
a/zypp/solver/detail/ResolverContext.cc
b/zypp/solver/detail/ResolverContext.cc
index 2ae067af66733d26aaa1aa260e68f426ebe62712..ad6612ea5039686cd190d887258769399d61c2e6 100644
(file)
--- a/
zypp/solver/detail/ResolverContext.cc
+++ b/
zypp/solver/detail/ResolverContext.cc
@@
-136,6
+136,7
@@
_XDEBUG( "[" << context << "]:" << it->second );
}
context = context->_parent; // N: go up the chain
}
+#if 0
ResStatus status;
if (item.status().isInstalled())
status = ResStatus::installed;
@@
-143,8
+144,12
@@
_XDEBUG( "[" << context << "]:" << it->second );
status = ResStatus::uninstalled;
_last_checked_status = status;
-_XDEBUG( "[NULL]:" << status );
- return status; // Not part of context, return Pool status
+ _XDEBUG( "[NULL]:" << status );
+#else
+ _last_checked_status = item.status();
+#endif
+
+ return _last_checked_status; // Not part of context, return Pool status
}