Do minor refactoring
This commit is contained in:
parent
d66261cf4a
commit
9dfd6d5040
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ def get_srcinfo_version(pkgdir):
|
||||||
|
|
||||||
def get_pkgbuild_version(pkgdir, force_check_srcinfo):
|
def get_pkgbuild_version(pkgdir, force_check_srcinfo):
|
||||||
"""Returns (success, epoch, version, release)"""
|
"""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:
|
while True and not force_check_srcinfo:
|
||||||
log_print("Use .SRCINFO or directly parse PKGBUILD?")
|
log_print("Use .SRCINFO or directly parse PKGBUILD?")
|
||||||
user_input = input("1 for .SRCINFO, 2 for PKGBUILD > ")
|
user_input = input("1 for .SRCINFO, 2 for PKGBUILD > ")
|
||||||
|
|
Loading…
Reference in a new issue