Skip to content

Commit

Permalink
Pyflakes. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jul 17, 2015
1 parent 1eafe20 commit 345b13e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions gevent/pywsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,9 @@ class WSGIServer(StreamServer):
.. versionchanged:: 1.1a3
Added the ``error_log`` parameter, and set ``wsgi.errors`` in the WSGI
environment to this value.
.. versionchanged:: 1.1a3
Add support for passing :class:`logging.Logger` objects to the ``log`` and
``error_log`` arguments.
"""

handler_class = WSGIHandler
Expand Down
5 changes: 4 additions & 1 deletion util/pyflakes.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,12 @@ def pyflakes(args):
pyflakes('examples/ greentest/*.py util/ *.py')

if sys.version_info[0] == 3:
ignored_files = ['gevent/_util_py2.py', 'gevent/_socket2.py', 'gevent/_fileobject2.py']
ignored_files = ['gevent/_util_py2.py', 'gevent/_socket2.py', 'gevent/_fileobject2.py',
'gevent/builtins.py']
else:
ignored_files = ['gevent/_socket3.py']

ignored_files.append('gevent/wsgi.py')

py = set(glob.glob('gevent/*.py')) - set(ignored_files)
pyflakes(' '.join(py))

0 comments on commit 345b13e

Please sign in to comment.