Fix automated rb-site installs with support-related defaults.

Review Request #6274 — Created Aug. 26, 2014 and submitted

Information

Review Board
release-2.0.x
c027590...

Reviewers

When running rb-site install in an automated mode (using --noinput),
things would fail if either --company or --admin-email were left out.
We were saving the default values of None, but the support data
generation couldn't serialize these to strings.

To get around this, some people tried posting empty strings (using "" or
'""').

We now normalize None or single/double quotes to an actual empty string.

Installed sites without these values.

Installed sites with "", '', '""', and "''".

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/admin/support.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/admin/support.py
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (41fc515)