Author: dmacvicar Date: Thu Aug 9 15:19:12 2007 New Revision: 6553 URL: http://svn.opensuse.org/viewcvs/zypp?rev=6553&view=rev Log: wrong logic Modified: trunk/libzypp/zypp/Locks.cc Modified: trunk/libzypp/zypp/Locks.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Locks.cc?rev=6553&r1=6552&r2=6553&view=diff ============================================================================== --- trunk/libzypp/zypp/Locks.cc (original) +++ trunk/libzypp/zypp/Locks.cc Thu Aug 9 15:19:12 2007 @@ -129,9 +129,11 @@ std::string line( str::trim( str_r ) ); - if ( line.empty() || line[0] != '#') + if ( line.empty() || line[0] == '#') return true; + MIL << "Applying locks from pattern '" << str_r << "'" << endl; + // zypp does not provide wildcard or regex support in the Capability matching helpers // but it still parses the index if it contains wildcards. // so we decompose the capability, and keep the op and edition, while, the name -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org