Bug 1801836 - Fix black linting opt failure on memory/replace/dmd/dmd.py. a=lint-fix

This commit is contained in:
Cosmin Sabou 2022-12-25 11:35:54 +02:00
Родитель 5148c7537b
Коммит ffddc62071
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -637,7 +637,10 @@ def printDigest(args, digest):
cond = is_match
elif arg.startswith("!"):
key = arg[1:]
def cond(rec, key): return not is_match(rec, key) # noqa: E731
def cond(rec, key):
return not is_match(rec, key) # noqa: E731
else:
key = arg
cond = is_match