Fix an invalid reference when loading initial state for the cache type.

Review Request #8454 — Created Oct. 11, 2016 and submitted

Information

Review Board
release-2.5.x
1671279...

Reviewers

If the site configuration didn't contain information for the memory
cache server type, the form code would try to load the initial value
from the form. This failed due to accessing this from the wrong
location, resulting in a HTTP 500. This change fixes that to load from
the correct location.

Loaded the page successfully. (Not sure where my cache info went.)

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/admin/forms.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/admin/forms.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (acaa7b2)
Loading...