Use proper method of retrieving attributes

This commit is contained in:
Rob Crittenden
2007-11-01 13:21:13 -04:00
parent a51dd58278
commit 10917161a7

View File

@@ -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