You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/02/17 17:42:40 UTC
(tooling-trusted-releases) branch sbp updated: Remove unused data from a committer data verification
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/sbp by this push:
new 9847de95 Remove unused data from a committer data verification
9847de95 is described below
commit 9847de959a147ede2669fe5c30241a0c46f318ef
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Tue Feb 17 17:41:55 2026 +0000
Remove unused data from a committer data verification
---
atr/principal.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/atr/principal.py b/atr/principal.py
index 01f3af02..30b3027a 100644
--- a/atr/principal.py
+++ b/atr/principal.py
@@ -20,7 +20,7 @@
import asyncio
import re
import time
-from typing import Any, Final
+from typing import Final
import asfquart.session
@@ -98,7 +98,7 @@ class Committer:
self.__bind_dn, self.__bind_password = get_ldap_bind_dn_and_password()
- def verify(self) -> dict[str, Any]:
+ def verify(self) -> None:
with ldap.Search(self.__bind_dn, self.__bind_password) as ldap_search:
start = time.perf_counter_ns()
self._get_committer_details(ldap_search)
@@ -139,8 +139,6 @@ class Committer:
self.pmcs.append("tooling")
self.projects.append("tooling")
- return self.__dict__
-
def _get_committer_details(self, ldap_search: ldap.Search) -> None:
try:
result = ldap_search.search(
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org