1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Implemented factory method for backend

This commit is contained in:
Игорь Чудов 2019-12-10 18:56:19 +04:00
parent dee217b3de
commit 41445bf3d4
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -1 +1,8 @@
from .samba_backend import samba_backend
def backend_factory(loadparm, creds, sid, dc, username):
'''
Return one of backend objects
'''
return samba_backend(loadparm, creds, sid, dc, username)