Skip to content

Commit

Permalink
Uncomment symlinks untangling
Browse files Browse the repository at this point in the history
  • Loading branch information
17451k committed Nov 14, 2022
1 parent 3b03c25 commit fe83243
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clade/extensions/src_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __generate_src_graph(self, cmds):
self.src_graph[src_file]["compiled_in"].add(cmd_id)
self.src_graph[src_file]["used_by"].update(used_by)

# self.__untangle_symlinks()
self.__untangle_symlinks()

# Convert sets to lists for ujson
for file in self.src_graph:
Expand All @@ -130,6 +130,8 @@ def __untangle_symlinks(self):
if file not in self.src_graph and symlink not in self.src_graph:
continue

self.debug(f"Combine source graphs for {file!r} and {symlink!r}")

# Otherwise we need to make source graphs identical for both in and out file
self.src_graph[file] = self.src_graph.get(file, self.__get_new_value())
self.src_graph[symlink] = self.src_graph.get(symlink, self.__get_new_value())
Expand Down

0 comments on commit fe83243

Please sign in to comment.