def _expand_vars(self, cmd):
    if cmd is None:
      return None
    for cstr in re.findall("__[^_]*__", cmd):
      attr = cstr.strip("__")
      if hasattr(self, attr) and getattr(self, attr, None) is not None:
        cmd = cmd.replace(cstr, str(getattr(self, attr)))
    return cmd
Decide which souce files must be recompiled.
dataset/ETHPy150Open ucb-sts/sts/sts/entities/controllers.py/ControllerConfig._expand_vars--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/distutils/ccompiler.py/CCompiler._prep_compile