mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove warning
This commit is contained in:
parent
34a8296859
commit
a1ecf99b9f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user