From 72a94d4b9ea96774f72a2e1ef29f60a53981bbae Mon Sep 17 00:00:00 2001 From: Mateusz Klimaszewski <mk.klimaszewski@gmail.com> Date: Mon, 4 Jan 2021 11:48:56 +0100 Subject: [PATCH] Add script source. --- combo/utils/graph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/combo/utils/graph.py b/combo/utils/graph.py index 651c14a..3352625 100644 --- a/combo/utils/graph.py +++ b/combo/utils/graph.py @@ -88,6 +88,7 @@ def _dfs(graph, start, end): def restore_collapse_edges(tree_tokens): + # https://gist.github.com/hankcs/776e7d95c19e5ff5da8469fe4e9ab050 empty_tokens = [] for token in tree_tokens: deps = token["deps"].split("|") -- GitLab