Convert add_user to take a user instead of a dict.
This commit is contained in:
1 parent
c113d932b1
commit
cb03961ff1
4 files changed
+32
-28
No files matched your search
+1
-1
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user