1 2 3 4 5 6 7 8 9
def getRoot(config): if not config.parent: return config return getRoot(config.parent) root = getRoot(config) if root.host_os not in ['Darwin']: config.unsupported = True