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:
parent
dee217b3de
commit
41445bf3d4
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user