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

sqlite_registry: Fixed samba_hkcu_preg mapping in query

This commit is contained in:
Игорь Чудов 2020-06-29 16:22:53 +04:00
parent 8c87a22ac0
commit b616221562
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -177,7 +177,7 @@ class sqlite_registry(registry):
except Exception as exc:
(self
.db_session
.query(samba_preg)
.query(samba_hkcu_preg)
.filter(samba_hkcu_preg.sid == row.sid)
.filter(samba_hkcu_preg.hive_key == row.hive_key)
.update(row.update_fields()))