An empty list doesn't equate to None. Who knew (:
Fixes broken dep logging
This commit is contained in:
parent
d507bed1b2
commit
a5fdee3d55
@ -2,6 +2,7 @@
|
||||
- Add a install target to make (Trac #37)
|
||||
- Enable the source repo in yum configs (Trac #47)
|
||||
- Use universal newlines in getting process output (Trac #44)
|
||||
- Fix logging of broken deps (Trac #39)
|
||||
|
||||
* Fri May 25 2007 Jesse Keating <jkeating@redhat.com>
|
||||
- Handle the cdsize variable correctly
|
||||
|
@ -111,8 +111,8 @@ class Gather(yum.YumBase):
|
||||
continue
|
||||
|
||||
deps = self.whatProvides(r, f, v).returnPackages()
|
||||
if deps is None:
|
||||
self.logger.warning("Unresolvable dependency %s in %s.%s" % (r, po.name, po.arch))
|
||||
if not deps:
|
||||
self.logger.warn("Unresolvable dependency %s in %s.%s" % (r, po.name, po.arch))
|
||||
continue
|
||||
|
||||
for dep in deps:
|
||||
|
Loading…
Reference in New Issue
Block a user