From 9dfd6d5040329a54d636409b58bac31cce252dab Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Fri, 3 Jun 2022 13:32:49 +0900 Subject: [PATCH] Do minor refactoring --- update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.py b/update.py index c224db0..4ecaa1d 100755 --- a/update.py +++ b/update.py @@ -312,7 +312,7 @@ def get_srcinfo_version(pkgdir): def get_pkgbuild_version(pkgdir, force_check_srcinfo): """Returns (success, epoch, version, release)""" - log_print('Getting PKGBUILD version of "{}"...'.format(pkgdir)) + log_print(f'Getting version of "{pkgdir}"...') while True and not force_check_srcinfo: log_print("Use .SRCINFO or directly parse PKGBUILD?") user_input = input("1 for .SRCINFO, 2 for PKGBUILD > ")