Sorry, could you elaborate what you mean?

PK
http://www.gae123.com

On April 10, 2014 at 5:47:53 PM, David Chambers (notifications@github.com) wrote:

In plaid/http.py:

> +        follow_redirects = True,
> +        method = method,
> +        payload = payload
> +    )
> +
> +    response.ok = response.status_code >= 200 and response.status_code < 300
> +    return response
> +
> +_is_appengine = None
> +def http_request(url, method, data = {}):
> +    global _is_appengine
> +    if _is_appengine is None:
> +        ss = os.environ.get('SERVER_SOFTWARE', None)
> +        _is_appengine = (ss and (ss.startswith('Development/') or ss.startswith('Google App Engine/')))
> +
> +    if not _is_appengine:
Let's switch the branches to avoid the double negative.

—
Reply to this email directly or view it on GitHub.