Properly handle empty dependencies for some schematics (e.g. gtkada)

This commit is contained in:
R. Tyler Croy 2017-01-24 22:55:03 -08:00
parent 9b19d350de
commit a8bf1bec2b
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 3 additions and 1 deletions

4
bin/ae
View File

@ -80,7 +80,9 @@ def traverse_schematic_graph(graph, key=None):
if not key:
install = []
for key in graph.iterkeys():
install.append(traverse_schematic_graph(graph, key))
result = traverse_schematic_graph(graph, key)
if result:
install.append(result)
install.append(key)
return install
if not graph.has_key(key):