Skip to content

Commit

Permalink
print format
Browse files Browse the repository at this point in the history
  • Loading branch information
seyyah committed Jul 22, 2010
1 parent 30b2927 commit 97a258e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/examples.py
Expand Up @@ -44,5 +44,4 @@ def ldap_entry2user (entry):
ldap_entry_tolower(entry)
user = ldap_entry2user(entry)

print "cn = %s, sn = %s, telephonenumber = %s, postalcode = %s" % \
(user["cn"], user["sn"], user["telephonenumber"], user["postalcode"])
print "cn = %(cn)s, sn = %(sn)s, telephonenumber = %(telephonenumber)s, postalcode = %(postalcode)s" % user

0 comments on commit 97a258e

Please sign in to comment.