@classmethod
    def detectversionfromcmd(cls):
        try:
            status, result = cmdresult(['a2query', '-v'])
        except Exception:
            status = -1
        if status == 0 and result[:3] == '2.4':
            return cls.APACHEVER24
        return cls.APACHEVER22
Override for generic, uniform traversals.
dataset/ETHPy150Open coreemu/core/daemon/core/services/utility.py/HttpService.detectversionfromcmd--crossover with--dataset/ETHPy150Open adieu/allbuttonspressed/docutils/nodes.py/GenericNodeVisitor.default_departure