Author: schubi2 Date: Tue Jun 24 15:54:37 2008 New Revision: 10451 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10451&view=rev Log: Bug 400499; setting causer not depending if the transact has been set Modified: trunk/libzypp/zypp/ResStatus.h Modified: trunk/libzypp/zypp/ResStatus.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ResStatus.h?rev=10451&r1=10450&r2=10451&view=diff ============================================================================== --- trunk/libzypp/zypp/ResStatus.h (original) +++ trunk/libzypp/zypp/ResStatus.h Tue Jun 24 15:54:37 2008 @@ -398,17 +398,17 @@ { if ( toTansact_r == transacts() ) { - // we're already in the desired state, but in case of - // TRANSACT, remember a superior causer. - if ( transacts() && isLessThan<TransactByField>( causer_r ) ) + // we're already in the desired state, but + // remember a superior causer. + if ( isLessThan<TransactByField>( causer_r ) ) fieldValueAssign<TransactByField>( causer_r ); fieldValueAssign<TransactDetailField>( NO_DETAIL ); // Details has to be set again return true; } // Here: transact status is to be changed: - if ( ! fieldValueIs<TransactField>( KEEP_STATE ) - && isGreaterThan<TransactByField>( causer_r ) ) { + if ( ! fieldValueIs<TransactField>( KEEP_STATE ) + && isGreaterThan<TransactByField>( causer_r ) ) { return false; } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org