fix: remove duplicate code block in detect-duplicates.py
This commit is contained in:
parent
e6d5d3508a
commit
834ba1e351
1 changed files with 0 additions and 7 deletions
|
|
@ -310,13 +310,6 @@ def main() -> int:
|
||||||
]
|
]
|
||||||
# Also filter allowed hashes from pre_dups for reporting
|
# Also filter allowed hashes from pre_dups for reporting
|
||||||
pre_dups = [g for g in cur_dups if g[0] in base_dup_hashes and g[0] not in ALLOWED_HASHES]
|
pre_dups = [g for g in cur_dups if g[0] in base_dup_hashes and g[0] not in ALLOWED_HASHES]
|
||||||
# Filter out allowed standard patterns that are intentionally repeated
|
|
||||||
new_dups = [
|
|
||||||
g for g in cur_dups
|
|
||||||
if g[0] not in base_dup_hashes and g[0] not in ALLOWED_HASHES
|
|
||||||
]
|
|
||||||
# Also filter allowed hashes from pre_dups for reporting
|
|
||||||
pre_dups = [g for g in cur_dups if g[0] in base_dup_hashes and g[0] not in ALLOWED_HASHES]
|
|
||||||
|
|
||||||
# Report pre-existing as info
|
# Report pre-existing as info
|
||||||
if pre_ap or pre_dups:
|
if pre_ap or pre_dups:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue