Home
last modified time | relevance | path

Searched refs:old_lines (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_device_info_hcs.py102 old_lines = list(filter(
109 if temp_lines[0] not in old_lines:
110 new_data = old_lines[:-2] + temp_lines + old_lines[-2:]
122 old_lines = list(filter(
126 if self.judge_module_branch_exists(date_lines=old_lines):
128 end_index, start_index = self._get_model_index(old_lines)
129 model_hcs_lines = old_lines[start_index:end_index]
139 self.lines = old_lines[:end_index] + lines + old_lines[end_index:]
143 def _get_model_index(self, old_lines): argument
148 for index, old_line in enumerate(old_lines):
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/
H A Dhdi_add_handler.py292 old_lines = list(filter(lambda x: x != "\n", old_lines_temp))
294 for line in old_lines:
299 new_data = old_lines[:-2] + lines + old_lines[-2:]