Skip to content

Commit 8554882

Browse files
Update tools/chelon-sign
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6b606b7 commit 8554882

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/chelon-sign

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def get_gpg_version() -> str:
4444
if 'gpg (GnuPG)' in first_line:
4545
return first_line.split()[-1]
4646
except (subprocess.CalledProcessError, FileNotFoundError, IndexError):
47+
# If gpg is missing or its output is unexpected, fall back to a default version string.
4748
pass
4849
return "2.4.4"
4950

0 commit comments

Comments
 (0)