How do you suggest best avoiding the 99 pep8 limit?
On 5 Nov 2013 19:19, "James Socol" <notifications@github.com> wrote:

> In csp/middleware.py:
>
> > @@ -14,6 +15,11 @@ class CSPMiddleware(object):
> >      """
> >
> >      def process_response(self, request, response):
> > +        # Check for debug view
> > +        if response.status_code == http_client.INTERNAL_SERVER_ERROR:
>
> "flat is better than nested". The same logical flow with fewer actual code
> branches (implicit else: pass) is generally preferable.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/django-csp/pull/34/files#r7442000>
> .
>