gpo: Only commit the earliest change to the log
[nivanova/samba-autobuild/.git] / python / samba / gpclass.py
index 780ef558b94ba03dbc9ba1d575317aa90e130dbf..00330eb5ecb4d840f6c24bf109433b882ad45e9d 100644 (file)
@@ -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