diff options
author | Georg Brandl <georg@python.org> | 2009-09-16 15:54:04 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-09-16 15:54:04 (GMT) |
commit | fe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c (patch) | |
tree | 5f0300442574c00e152284d0a223380f59dac6bf /Lib/wsgiref/util.py | |
parent | 3d6575dfc85cd11473aa93a8219ac010a823919a (diff) | |
download | cpython-fe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c.zip cpython-fe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c.tar.gz cpython-fe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c.tar.bz2 |
Use true booleans and PEP8 for argdefaults.
Diffstat (limited to 'Lib/wsgiref/util.py')
-rw-r--r-- | Lib/wsgiref/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/wsgiref/util.py b/Lib/wsgiref/util.py index 937be60..00d1f26 100644 --- a/Lib/wsgiref/util.py +++ b/Lib/wsgiref/util.py @@ -67,7 +67,7 @@ def application_uri(environ): url += quote(environ.get('SCRIPT_NAME') or '/') return url -def request_uri(environ, include_query=1): +def request_uri(environ, include_query=True): """Return the full request URI, optionally including the query string""" url = application_uri(environ) from urllib.parse import quote |