summaryrefslogtreecommitdiffstats
path: root/ipa-python/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-python/user.py')
-rw-r--r--ipa-python/user.py2
1 files changed, 1 insertions, 1 deletions
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."""