From cb03961ff1c88179f9667b1dece8288ac55eba44 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Mon, 20 Aug 2007 12:10:50 -0700 Subject: Convert add_user to take a user instead of a dict. --- ipa-python/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipa-python/user.py') diff --git a/ipa-python/user.py b/ipa-python/user.py index 4377dad9..dd0afb57 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.""" -- cgit