Browse Source

Yet another flake8 exclusion

David Cramer 10 years ago
parent
commit
549cffa298
2 changed files with 2 additions and 1 deletions
  1. 1 1
      setup.cfg
  2. 1 0
      src/sentry/services/http.py

+ 1 - 1
setup.cfg

@@ -4,7 +4,7 @@ addopts=--tb=native
 norecursedirs=bin dist docs	htmlcov script hooks node_modules .* {args}
 
 [flake8]
-ignore = F999,E501,E128,E124,E402,E731,F841
+ignore = F999,E501,E128,E124,E402,W503,E731,F841
 max-line-length = 100
 exclude = .tox,.git,*/migrations/*,src/sentry/static/sentry/vendor/*,docs/*
 

+ 1 - 0
src/sentry/services/http.py

@@ -58,6 +58,7 @@ class SentryHTTPServer(Service):
         options.setdefault('errorlog', '-')
         options.setdefault('loglevel', 'info')
         options.setdefault('limit_request_line', 0)
+        options['preload'] = False
 
         if workers:
             options['workers'] = workers