From a1bf95ec2c81444071d597e2a5eece346104ed72 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Mon, 23 Aug 2021 16:00:57 -0600 Subject: [PATCH] features: formatting of OS constants --- capa/features/common.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/capa/features/common.py b/capa/features/common.py index cda8f4ff..8f16d6e5 100644 --- a/capa/features/common.py +++ b/capa/features/common.py @@ -282,9 +282,7 @@ OS_WINDOWS = "windows" OS_LINUX = "linux" OS_MACOS = "macos" VALID_OS = {os.value for os in capa.features.extractors.elf.OS} -VALID_OS.add(OS_WINDOWS) -VALID_OS.add(OS_LINUX) -VALID_OS.add(OS_MACOS) +VALID_OS.update({OS_WINDOWS, OS_LINUX, OS_MACOS}) class OS(Feature):