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

backend: Fixed incorrect variable reference error

This commit is contained in:
Игорь Чудов 2020-08-20 18:27:15 +04:00
parent 914a20b244
commit 126f2ffd7d
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -33,6 +33,7 @@ def backend_factory(dc, username, is_machine, no_domain = False):
back = None
domain = None
config = GPConfig()
sc = None
if not no_domain:
sc = smbcreds(dc)
domain = sc.get_domain()