def opcodes(self): sm = difflib.SequenceMatcher(None, self.target.active_uids, self.new_unit_list) return sm.get_opcodes()