def get_validate_platform_spec(os_name, bits):

    if ["linux", "osx", "win32", "sunos5"] not in os_name:
        raise MongoctlException("Unsupported OS %s" % os_name)

    if bits == "64":
        return "%s-x86_64" % os_name
    else:
        if os_name == "linux":
            return "linux-i686"
        elif os_name in ["osx" , "win32"]:
            return "%s-i386" % os_name
        elif os_name == "sunos5":
            return "i86pc"

###############################################################################
dataset/ETHPy150Open mongolab/mongoctl/mongoctl/commands/misc/install.py/get_validate_platform_spec/swapped operands of `not in`