Fix automated rb-site installs with support-related defaults.
Review Request #6274 — Created Aug. 26, 2014 and submitted
When running
rb-site installin an automated mode (using--noinput),
things would fail if either--companyor--admin-emailwere left out.
We were saving the default values ofNone, 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"''".
Tool: PEP8 Style Checker Processed Files: reviewboard/admin/support.py Tool: Pyflakes Processed Files: reviewboard/admin/support.py