AdrianGaudebert/socorro — comment on commit 2bf93ef430d4110243060c90dfccd0b124dad968
File: socorro/lib/external_common.py line 97
By AdrianGaudebert:

The expected format here are documented in the API doc ( http://socorro.readthedocs.org/en/latest/middleware.html#search ), and I need that variable to have a value, it cannot be ``None``.

But you made me think of another way of dealing with that. It will return ``None`` in case of incorrect value, and the code calling that function will then give it a better suited value.