diff --git a/src/python/WMCore/BossAir/Plugins/BasePlugin.py b/src/python/WMCore/BossAir/Plugins/BasePlugin.py index 4eedec0d83..f6981b2d27 100644 --- a/src/python/WMCore/BossAir/Plugins/BasePlugin.py +++ b/src/python/WMCore/BossAir/Plugins/BasePlugin.py @@ -138,7 +138,7 @@ def scramArchtoRequiredOS(scramArch=None): string to be matched for OS requirements for job """ requiredOSes = set() - if scramArch is None: + if not scramArch: requiredOSes.add('any') elif isinstance(scramArch, (str, bytes)): for arch, validOSes in viewitems(ARCH_TO_OS):