mirror of https://gitlab.com/bashrc2/epicyon
Check for duplicates
parent
606fa14da1
commit
fed756ecac
|
@ -1574,6 +1574,7 @@ def _add_dogwhistle_warnings(summary: str, content: str,
|
||||||
if translate.get(whistle_str):
|
if translate.get(whistle_str):
|
||||||
whistle_str = translate[whistle_str]
|
whistle_str = translate[whistle_str]
|
||||||
if summary:
|
if summary:
|
||||||
|
if whistle_str not in summary:
|
||||||
summary += ', ' + whistle_str
|
summary += ', ' + whistle_str
|
||||||
else:
|
else:
|
||||||
summary = whistle_str
|
summary = whistle_str
|
||||||
|
|
Loading…
Reference in New Issue