From 860b16124ae9256a3e8246b992823e1c285bafac Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 13 Dec 2023 15:05:51 +0000 Subject: [PATCH] Restyled by autopep8 --- scripts/tools/zap/generate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/tools/zap/generate.py b/scripts/tools/zap/generate.py index 4282df9516a8cd..b8da89ea114fa7 100755 --- a/scripts/tools/zap/generate.py +++ b/scripts/tools/zap/generate.py @@ -30,9 +30,11 @@ from zap_execution import ZapTool + def isWindows(): return platform.system() == "Windows" + # fcntl is not supported on Windows platform due to lack of necessity of I/O control on file descriptor if not isWindows(): import fcntl