[sysadmin-bin] Set within list
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Set within list
- Date: Tue, 22 Feb 2022 13:49:39 +0000 (UTC)
commit cbf3c031b662e91a6883e19e8c5c3141586a77b6
Author: Andrea Veri <averi redhat com>
Date: Tue Feb 22 14:49:31 2022 +0100
Set within list
gnome_ldap_utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome_ldap_utils.py b/gnome_ldap_utils.py
index 4d5ec5b..4663ead 100755
--- a/gnome_ldap_utils.py
+++ b/gnome_ldap_utils.py
@@ -30,7 +30,7 @@ class Gnome_ldap_utils:
members = set()
- if len(results) > 0:
+ if len(results[0][1]) > 0:
for _, attr in results:
for userid in attr['member']:
splitentry = userid.decode('utf-8').split(',')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]