anchor.diff:  
   <% end %>
   
  -<% if @use_buffers and @redis[:hosts] %>
  +<% if @use_buffers and @redis['hosts'] %>
   SENTRY_BUFFER = 'sentry.buffer.redis.RedisBuffer'
   
   SENTRY_BUFFER_OPTIONS = {
       'hosts': SENTRY_REDIS_OPTIONS['hosts']
   }
  -<% end %>+<% end %>
  
positive.code: 
  SENTRY_REDIS_OPTIONS = {
    "hosts": {
    <% for host, hostsettings in @redis[:hosts] %>
    <%= host %>: {
         <% for key, value in hostsettings %>
         "<%= key %>": <% if value.is_a?(Integer) %><%= value %><% else %>"<%= value %>"<% end %>,
  
negative.code: <% end %>
  
  
  <% if @use_queue and @redis['hosts'] %>
  REDIS_DB = SENTRY_REDIS_OPTIONS['hosts'].keys()[0]
  REDIS_DB_CONF = SENTRY_REDIS_OPTIONS['hosts'][REDIS_DB]
  BROKER_URL = "redis://{0}:{1}/{2}".format(REDIS_DB_CONF['HOST'], REDIS_DB_CONF['PORT'], REDIS_DB)
  