Commit 9bcd5aab authored by Felix Delattre's avatar Felix Delattre
Browse files

Put contents of augmented diff to be written to log files

parent 24c03bfe
Pipeline #29096 passed with stage
in 2 minutes and 12 seconds
......@@ -97,6 +97,7 @@ class DiffAnalyzer:
if self._is_way_or_relation(n):
numbers.append(n.attribs.get("id"))
await self.file_handler.write_diff_report(augmented_diff.sequence_number, numbers)
await self._set_buildings_on_message_bus(numbers)
async def _set_buildings_on_message_bus(self, numbers: list) -> None:
......
......@@ -52,4 +52,4 @@ class FileHandler:
self.config.filepath + "augmented-diff-" + str(identifier) + ".txt", mode="w"
) as f:
for number in numbers:
await f.write(number)
await f.write(number + "\n")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment