def sync_changes(self):
        if None in self.strings:
            self.target_string = self.strings[None]
            # Store updated nodes
            xml = self.unit.xmlelement
            target = xml.find(self.unit.namespaced('target'))

        else:
            # Read stored nodes
            xml = self.unit.xmlelement
            target = xml.find(self.unit.namespaced('target'))
            if target is not None:
                xml.remove(target)

        # Clear unused approved tag
        if 'approved' in xml.attrib:
            del xml.attrib['approved']

        # Clear unused state tag
        if target is not None and 'state' in target.attrib:
            del target.attrib["state"]
do not call directly
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/formats/xliff.py/XLIFFEntity.sync_changes--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/pymel/api/plugins.py/uninitializePlugin