Skip to content

Commit 7348ec0

Browse files
committed
breaker: dedup rebuilds content
1 parent 19133c1 commit 7348ec0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

breaker

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ def gen_rebuilds_list_string(revdep_list: list[dict[str, str]], args) -> str:
209209
rebuilds_path_list = [
210210
i for i in rebuilds_path_list if i != None and len(i.split("/")) == 2
211211
]
212+
# dedup
213+
rebuilds_path_list = list(set(rebuilds_path_list))
212214
logger.info("Found package paths: %s", ", ".join(rebuilds_path_list))
213215

214216
generate_args = ["breaker"]

0 commit comments

Comments
 (0)