1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 17:15:35 +00:00

Upgrade Python syntax with pyupgrade

This commit is contained in:
Hugo
2019-05-22 17:44:36 +03:00
parent 7670e10bc2
commit 8f4e089200
5 changed files with 8 additions and 8 deletions

View File

@@ -139,7 +139,7 @@ class VCRConnection(object):
if url and not url.startswith('/'):
# Then this must be a proxy request.
return url
uri = "{0}://{1}{2}{3}".format(
uri = "{}://{}{}{}".format(
self._protocol,
self.real_connection.host,
self._port_postfix(),