From b32ccbb66bb16965ecb8b4e266c4e45186636c1b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 29 Sep 2023 11:04:49 -0400 Subject: cleanup: Update codebase to expect Python 3.6 - Bump minimum version to Python 3.6. - Use f-strings in a lot of places. Change-Id: I2aa70197230fcec2eff8e7c8eb754f20c08075bb Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/389034 Tested-by: Jason R. Coombs Reviewed-by: Mike Frysinger Commit-Queue: Jason R. Coombs --- ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh.py') diff --git a/ssh.py b/ssh.py index bb89fa1f..a8242790 100644 --- a/ssh.py +++ b/ssh.py @@ -165,7 +165,7 @@ class ProxyManager: # Check to see whether we already think that the master is running; if # we think it's already running, return right away. if port is not None: - key = "%s:%s" % (host, port) + key = f"{host}:{port}" else: key = host -- cgit v1.2.3-54-g00ecf