From f6c6005cbb69cf6ffa78bcab2890a8fde663f107 Mon Sep 17 00:00:00 2001 From: Mürsel Türk Date: Fri, 26 Aug 2022 12:22:42 +0200 Subject: Fix regex for windows images --- inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 inspect.py diff --git a/inspect.py b/inspect.py old mode 100644 new mode 100755 index a53b572..07b8d09 --- a/inspect.py +++ b/inspect.py @@ -14,7 +14,7 @@ fmt = "{asctime}, {name}:{lineno}:{funcName}(), {levelname}, {message}" logging.basicConfig(level=logging.DEBUG, format=fmt, style="{") RPM = re.compile(r"^(CentOS|AlmaLinux|Scientific|Rocky|Oracle|openSUSE|Fedora).*$") # noqa -WIN = re.compile(r"^(Microsoft).*$") +WIN = re.compile(r"^(Microsoft|Windows).*$") def main(vmdk_path): -- cgit v1.2.3-55-g7522