diff options
| author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2020-11-10 18:53:33 +0200 |
|---|---|---|
| committer | Seth Michael Larson <sethmichaellarson@gmail.com> | 2020-11-15 09:46:13 -0600 |
| commit | fbe9620784b130dcdccf43cd3105940152c4d762 (patch) | |
| tree | 82340ab3df4d8e44a708104c4788aed880c3b47e /dummyserver/proxy.py | |
| parent | eae04d6d994fd65e6a46932891315bee39f25f34 (diff) | |
| download | urllib3-fbe9620784b130dcdccf43cd3105940152c4d762.tar.gz | |
Remove support for Python 2 and 3.5
- Upgrades syntax to Python 3.6+ with f-strings
- Removes most usage of six
- Removes documentation relevant to Python 2
- Removes universal wheel config
- Removes mock dependency for testing
Diffstat (limited to 'dummyserver/proxy.py')
| -rwxr-xr-x | dummyserver/proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dummyserver/proxy.py b/dummyserver/proxy.py index 0cd8dedd..3cb974c0 100755 --- a/dummyserver/proxy.py +++ b/dummyserver/proxy.py @@ -143,5 +143,5 @@ if __name__ == "__main__": if len(sys.argv) > 1: port = int(sys.argv[1]) - print("Starting HTTP proxy on port %d" % port) + print(f"Starting HTTP proxy on port {port}") run_proxy(port) |
