diff --git a/pylib/gyp/input.py b/pylib/gyp/input.py index 926fff63..7150269c 100644 --- a/pylib/gyp/input.py +++ b/pylib/gyp/input.py @@ -2536,7 +2536,7 @@ def ProcessListFiltersInDict(name, the_dict): lists = [] del_lists = [] for key, value in the_dict.items(): - if key == "": + if not key: continue operation = key[-1] if operation not in {"!", "/"}: