app/controllers/preprocessor/python/python_preprocessor.rb
def execute_error(send, line)
    # Send the exit command if that hasn't already happened
    if not @exit_sent
      send.call([{:exit => {:successful => false}}])
      @exit_sent = true
    end

    # Output the error line
    return error_line(line)
  end
# Handles output received on stderr during execution. These will be Python exceptions. On the first call,
# we issue the exit command. The remaining calls process the remaining lines in the error output.
Handles output received on stderr during execution. These will be Python exceptions. On the first call,
we issue the exit command. The remaining calls process the remaining lines in the error output.
Handles output received on stderr during execution . These will be Python exceptions . On the first call we issue the exit command . The remaining calls process the remaining lines in the error output .
def execute_error(send, line)
    if not @exit_sent
      send.call([{:exit => {:successful => false}}])
      @exit_sent = true
    end
    return error_line(line)
  end
def execute_error ( send , line ) if not @exit_sent send . call ( [ { :exit => { :successful => false } } ] ) @exit_sent = true end return error_line ( line ) end
Handles output received on stderr during execution.
Handles output received on stderr during execution .
# Send the exit command if that hasn't already happened # Output the error line
send
line