diff options
author | Kevin McCarthy <kmccarth@redhat.com> | 2007-08-20 12:10:50 -0700 |
---|---|---|
committer | Kevin McCarthy <kmccarth@redhat.com> | 2007-08-20 12:10:50 -0700 |
commit | cb03961ff1c88179f9667b1dece8288ac55eba44 (patch) | |
tree | 984b49c4316f1069290258c5cee1e543cd738d2f /ipa-python/user.py | |
parent | c113d932b1a370cbf868447e32789a4f7c60bea2 (diff) | |
download | freeipa-cb03961ff1c88179f9667b1dece8288ac55eba44.tar.gz freeipa-cb03961ff1c88179f9667b1dece8288ac55eba44.tar.xz freeipa-cb03961ff1c88179f9667b1dece8288ac55eba44.zip |
Convert add_user to take a user instead of a dict.
Diffstat (limited to 'ipa-python/user.py')
-rw-r--r-- | ipa-python/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-python/user.py b/ipa-python/user.py index 4377dad9b..dd0afb578 100644 --- a/ipa-python/user.py +++ b/ipa-python/user.py @@ -25,7 +25,7 @@ class User: data - cidict - case insensitive dict of the attributes and values orig_data - cidict - case insentiive dict of the original attributes and values""" - def __init__(self,entrydata): + def __init__(self,entrydata=None): """data is the raw data returned from the python-ldap result method, which is a search result entry or a reference or None. If creating a new empty entry, data is the string DN.""" |