mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
netcmd: models: fix incorrect return type should not be User
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
42be08c192
commit
422cc1d17d
@ -258,7 +258,7 @@ class Model(metaclass=ModelMeta):
|
||||
|
||||
:param ldb: Ldb connection
|
||||
:param kwargs: Search criteria as keyword args
|
||||
:returns: User object or None if not found
|
||||
:returns: Model instance or None if not found
|
||||
:raises: MultipleObjects returned if there are more than one results
|
||||
"""
|
||||
# If a DN is provided use that to get the object directly.
|
||||
|
Loading…
Reference in New Issue
Block a user