old_contents: import bottle, rollbar, sys
  
  class RollbarBottleReporter(object):
      '''
      A Bottle plugin that reports errors to Rollbar
      All args and kwargs are passed to `rollbar.init`
      '''
      name = 'rollbar-bottle-reporter'
      api = 2
  
      def __init__(self, *args, **kwargs):
          if 'exception_level_filters' in kwargs:
              kwargs['exception_level_filters'].append((bottle.BaseResponse, 'ignored'))
          else:
              kwargs['exception_level_filters'] = [(bottle.baseResponse, 'ignored')]
  
          rollbar.init(*args, **kwargs)
  
      def __call__(self, callback):
          def wrapper(*args, **kwargs):
              try:
                  return callback(*args, **kwargs)
              except Exception, e:
                  rollbar.report_exc_info(sys.exc_info(), request=bottle.request)
                  raise
  
          return wrapper
  
new_contents: import bottle, rollbar, sys
  
  class RollbarBottleReporter(object):
      '''
      A Bottle plugin that reports errors to Rollbar
      All args and kwargs are passed to `rollbar.init`
      '''
      name = 'rollbar-bottle-reporter'
      api = 2
  
      def __init__(self, *args, **kwargs):
          if 'exception_level_filters' in kwargs:
              kwargs['exception_level_filters'].append((bottle.BaseResponse, 'ignored'))
          else:
              kwargs['exception_level_filters'] = [(bottle.BaseResponse, 'ignored')]
  
          rollbar.init(*args, **kwargs)
  
      def __call__(self, callback):
          def wrapper(*args, **kwargs):
              try:
                  return callback(*args, **kwargs)
              except Exception, e:
                  rollbar.report_exc_info(sys.exc_info(), request=bottle.request)
                  raise
  
          return wrapper
  
subject: fix typo