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 --- platform_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform_utils.py') diff --git a/platform_utils.py b/platform_utils.py index d720a07e..4cf994bc 100644 --- a/platform_utils.py +++ b/platform_utils.py @@ -57,8 +57,8 @@ def _validate_winpath(path): if _winpath_is_valid(path): return path raise ValueError( - 'Path "{}" must be a relative path or an absolute ' - "path starting with a drive letter".format(path) + f'Path "{path}" must be a relative path or an absolute ' + "path starting with a drive letter" ) -- cgit v1.2.3-54-g00ecf