This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-people.git
The following commit(s) were added to refs/heads/main by this push:
new 178c882 Ensure initialised
178c882 is described below
commit 178c8820cef64640ea6d5b24f6e9173741446f03
Author: Sebb <[email protected]>
AuthorDate: Tue Jul 1 22:22:10 2025 +0100
Ensure initialised
---
tools/pgp.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/pgp.py b/tools/pgp.py
index 7808d7f..7f7d72c 100644
--- a/tools/pgp.py
+++ b/tools/pgp.py
@@ -126,6 +126,8 @@ for uid, entry in people['people'].items():
badkeys[uid] = {}
for key in entry.get('key_fingerprints', []):
skey = re.sub("[^0-9a-fA-F]",'', key) # Why strip all invalid chars?
+ data = None
+ ok = False
# INFRA-12042 use only full fingerprints
# Note: 32 char keys are obsolete V3 ones which aren't available over
HKP anyway
if len(skey) == 40: