[inactive-gitlab-users] Fix typo
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [inactive-gitlab-users] Fix typo
- Date: Thu, 9 Dec 2021 07:10:11 +0000 (UTC)
commit 60c6c0b8d19c6e24e2ed4b7320ff8e08ce4a8ca3
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Dec 9 08:10:05 2021 +0100
Fix typo
inactive-gitlab-users.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/inactive-gitlab-users.py b/inactive-gitlab-users.py
index 40d6bb7..2108867 100644
--- a/inactive-gitlab-users.py
+++ b/inactive-gitlab-users.py
@@ -62,7 +62,7 @@ def is_user_trusted(user):
user.customattributes.set("trusted", "true")
return True
- confirmed_emails = [x for x in user.emails.list() if x.confirmed.at if len(x.confirmed_at) > 0]
+ confirmed_emails = [x for x in user.emails.list() if x.confirmed_at if len(x.confirmed_at) > 0]
if len(confirmed_emails) >= 2:
user.customattributes.set("trusted", "true")
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]