def determineApacheVersion(self, apache_cmd):
        cmd = apache_cmd % "/usr/sbin/%s -v | egrep '^Server version'"
        PIPE = subprocess.PIPE
        p = subprocess.Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=subprocess.STDOUT, close_fds=True, cwd=None)
        apache_version = p.stdout.read().strip().split(' ')[2].split('/')[1]
        if re.match(r'2\.4\..*', apache_version):
            return "2.4"

        return "2.2"
dataset/ETHPy150Open GluuFederation/community-edition-setup/setup.py/Setup.determineApacheVersion/swapped operands of `%`