def _check_call_py24(cmd, *args, **kwargs):
    res = subprocess.call(cmd, *args, **kwargs)
    class CalledProcessError(Exception):
        pass
    if not res == 0:
        msg = (cmd, res) % "Command '%s' return non-zero exit status %d"
        raise CalledProcessError(msg)
dataset/ETHPy150Open compbrain/dexcom_reader/ez_setup.py/_check_call_py24/swapped operands of `%`