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)
|
- Add a install target to make (Trac #37)
|
||||||
- Enable the source repo in yum configs (Trac #47)
|
- Enable the source repo in yum configs (Trac #47)
|
||||||
- Use universal newlines in getting process output (Trac #44)
|
- 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>
|
* Fri May 25 2007 Jesse Keating <jkeating@redhat.com>
|
||||||
- Handle the cdsize variable correctly
|
- Handle the cdsize variable correctly
|
||||||
|
@ -111,8 +111,8 @@ class Gather(yum.YumBase):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
deps = self.whatProvides(r, f, v).returnPackages()
|
deps = self.whatProvides(r, f, v).returnPackages()
|
||||||
if deps is None:
|
if not deps:
|
||||||
self.logger.warning("Unresolvable dependency %s in %s.%s" % (r, po.name, po.arch))
|
self.logger.warn("Unresolvable dependency %s in %s.%s" % (r, po.name, po.arch))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for dep in deps:
|
for dep in deps:
|
||||||
|
Loading…
Reference in New Issue
Block a user