From 7c8c645592ac184e80e409c14c7607f91fcc89df Mon Sep 17 00:00:00 2001 From: Eric Froemling Date: Mon, 15 Nov 2021 11:54:21 -0600 Subject: [PATCH] lint fixes --- tools/efrotools/filecommand.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/efrotools/filecommand.py b/tools/efrotools/filecommand.py index e4e1bcf5..2cd3385a 100644 --- a/tools/efrotools/filecommand.py +++ b/tools/efrotools/filecommand.py @@ -32,9 +32,11 @@ class _FileBatchesRun: self._include_mac_packages = include_mac_packages if self._include_mac_packages: - # pylint: disable=no-name-in-module + # pylint: disable=useless-suppression + # pylint: disable=no-name-in-module, import-error from Cocoa import NSWorkspace self._shared_nsworkspace = NSWorkspace.sharedWorkspace() + # pylint: enable=useless-suppression else: self._shared_nsworkspace = None