mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
gpo: Only commit the earliest change to the log
Otherwise we overwrite the original value, leaving the setting tattooed on unapplied Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
9ace2343ab
commit
ac56f87018
@ -180,7 +180,7 @@ class gp_log:
|
||||
if attr is None:
|
||||
attr = etree.SubElement(ext, 'attribute')
|
||||
attr.attrib['name'] = attribute
|
||||
attr.text = old_val
|
||||
attr.text = old_val
|
||||
|
||||
def retrieve(self, gp_ext_name, attribute):
|
||||
''' Retrieve a stored attribute from the gp_log
|
||||
|
Loading…
Reference in New Issue
Block a user