152 inputBytes = b"".join(self.__inputBuffer) |
152 inputBytes = b"".join(self.__inputBuffer) |
153 lines = inputBytes.splitlines(True) |
153 lines = inputBytes.splitlines(True) |
154 for line in lines: |
154 for line in lines: |
155 if not line.endswith(b"\n"): |
155 if not line.endswith(b"\n"): |
156 # incomplete line (last line); skip it |
156 # incomplete line (last line); skip it |
157 continue |
157 break |
158 |
158 |
159 line = line.strip() |
159 line = line.strip() |
160 if line.startswith(b"(") and line.endswith(b")"): |
160 if line.startswith(b"(") and line.endswith(b")"): |
161 # it may be a tuple we are interested in |
161 # it may be a tuple we are interested in |
162 rawValues = [val.strip() for val in line[1:-1].split(b",")] |
162 rawValues = [val.strip() for val in line[1:-1].split(b",")] |