Mailinglist Archive: yast-commit (152 mails)

< Previous Next >
[yast-commit] r67697 - /trunk/ncurses-pkg/src/NCPackageSelector.cc
Author: gs
Date: Fri Mar 23 14:50:58 2012
New Revision: 67697

URL: http://svn.opensuse.org/viewcvs/yast?rev=67697&view=rev
Log:
add log info for vendor change on/off

Modified:
trunk/ncurses-pkg/src/NCPackageSelector.cc

Modified: trunk/ncurses-pkg/src/NCPackageSelector.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPackageSelector.cc?rev=67697&r1=67696&r2=67697&view=diff
==============================================================================
--- trunk/ncurses-pkg/src/NCPackageSelector.cc (original)
+++ trunk/ncurses-pkg/src/NCPackageSelector.cc Fri Mar 23 14:50:58 2012
@@ -252,12 +252,15 @@

bool NCPackageSelector::isAllowVendorChange()
{
- return zypp::getZYpp()->resolver()->allowVendorChange();
+ zypp::Resolver_Ptr resolver = zypp::getZYpp()->resolver();
+ bool change = resolver->allowVendorChange();
+ yuiMilestone() << "Vendor change allowed: " << (change?"true":"false") <<
endl;
+ return change;
}

void NCPackageSelector::setAllowVendorChange( bool on )
{
- return zypp::getZYpp()->resolver()->setAllowVendorChange( on );
+ return zypp::getZYpp()->resolver()->setAllowVendorChange( on );
}

//////////////////////////////////////////////////////////////////

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages