fails when there are no families
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dotdepends |
Fix Released
|
Critical
|
Kyle Nitzsche |
Bug Description
dotdepends removes the root pkg node family from the dictionary of families, if there are any families. This is so that the root node is not summarized into a package family in order to make the generated graph clearer, that is, the root pkg node and its dependencies should always be shown.
However, when there are zero families found, dotdepends crashes at the point in code where the root node's family, if any, is removed from the dictionary of families:
$ dotdepends libasound2
libasound2/
Traceback (most recent call last):
File "/usr/bin/
dot2.
File "/usr/lib/
fams = self.remove_
File "/usr/lib/
del fams[root]
KeyError: 'libasound2'
Related branches
- Mike Carifio: Approve
-
Diff: 67 lines (+19/-4)3 files modifiedDotdepends/Dot.py (+9/-1)
data/dotdepends.1 (+2/-3)
debian/changelog (+8/-0)
Changed in dotdepends: | |
status: | Confirmed → In Progress |
Fixed with 0.3.9