Lines Matching refs:line
69 for line in lines:
70 strip_line = line.strip()
73 if line.endswith(b"\r\n") or line.endswith(b"\r"):
109 def check_and_add_line(lines, line): argument
110 line = line.strip()
111 if not line:
114 if len(line) >= len(existing_line) and line.startswith(existing_line):
116 elif len(line) < len(existing_line) and existing_line.startswith(line):
118 lines.append(line)
120 lines.append(line)
127 for line in src_file:
128 check_and_add_line(lines, line)
136 for line in lines:
137 if line and not line.startswith("#"):
138 line = "".join([line, "\n"])
139 dst_f.write(line)