Return all the modules in the tree as a set.
(tree)
| 163 | return result |
| 164 | |
| 165 | def GetAllKeys(tree): |
| 166 | ''' |
| 167 | Return all the modules in the tree as a set. |
| 168 | ''' |
| 169 | modules = set() |
| 170 | for key in tree: |
| 171 | modules = set(list(modules) + [key] + list(GetAllKeys(tree[key]))) |
| 172 | return modules |
| 173 | |
| 174 | def MakeEdgeList(t): |
| 175 | ''' |