def handle_int(sigspec, frame):
  print >> sys.stderr, sigspec % "Caught signal %d, stopping sdndebug"
  if (_running_simulation is not None and
      _running_simulation.current_simulation is not None):
    _running_simulation.current_simulation.clean_up()
  raise RuntimeError("terminating on signal %d" % sigspec)
dataset/ETHPy150Open ucb-sts/sts/tests/unit/sts/control_flow_test.py/handle_int/swapped operands of `%`