Remove warning

This commit is contained in:
Adam Turner
2022-06-01 18:45:48 +01:00
committed by GitHub
parent 34a8296859
commit a1ecf99b9f

View File

@@ -55,7 +55,6 @@ class Catalog:
self.metadata[msg] = []
line = origin.line
if line is None:
logger.warning(f"Node {origin!r} has no line number, using '-1'.")
line = -1
self.metadata[msg].append((origin.source, line, origin.uid)) # type: ignore