- reducing logging (error -> debug) bug 252921
authorStefan Schubert <schubi@suse.de>
Wed, 14 Mar 2007 13:24:19 +0000 (13:24 +0000)
committerStefan Schubert <schubi@suse.de>
Wed, 14 Mar 2007 13:24:19 +0000 (13:24 +0000)
- find resolvable for atom which has >= edition

zypp/ui/PatchContentsImpl.cc

index 4920abf..64e6c20 100644 (file)
@@ -49,7 +49,7 @@ namespace zypp
                    // DBG << "Found " << (*atom_it)->name() << " " << (*foundNames)->edition().asString() << endl;
 
                    if ( ! isKind<Atom>( (*foundNames).resolvable() ) &&
-                        (*atom_it)->edition() == (*foundNames)->edition() &&
+                        (*atom_it)->edition() <= (*foundNames)->edition() &&
                         (*atom_it)->arch()    == (*foundNames)->arch()      )
                    {
                        found = true;
@@ -77,7 +77,7 @@ namespace zypp
                        continue;
                    }
 
-                   ERR << "No resolvable for patch atom in pool: "
+                   DBG << "No resolvable for patch atom in pool: "
                        << (*atom_it)->name() << "-" << (*atom_it)->edition()
                        << " arch: " << (*atom_it)->arch().asString()
                        << endl;