Use proper method of retrieving attributes
This commit is contained in:
1 parent
a51dd58278
commit
10917161a7
1 file changed
+1
-1
@@ -82,7 +82,7 @@ def main():
|
||||
if counter > 0:
|
||||
print "Members:"
|
||||
for m in members:
|
||||
print " " + m['cn'] + ": " + m['dn']
|
||||
print " " + m.getValue('cn') + ": " + m.dn
|
||||
# blank line between results
|
||||
print
|
||||
|
||||
|
||||
Reference in new issue
Block a user