#536: Include line number when complaining about missing reference targets in nitpicky mode.

This commit is contained in:
Georg Brandl 2011-01-08 16:04:19 +01:00
parent 30ce009d0d
commit 65e926cc57
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
Release 1.0.7 (in development)
==============================
* #536: Include line number when complaining about missing reference
targets in nitpicky mode.
* #590: Fix inline display of graphviz diagrams in LaTeX output.
* #589: Build using app.build() in setup command.

View File

@ -1364,7 +1364,7 @@ class BuildEnvironment:
'reference target not found: %stype %s, target %s'
% (node.get('refdomain') and
'domain %s, ' % node['refdomain'] or '',
typ, target))
typ, target), node.line)
except NoUri:
newnode = contnode
node.replace_self(newnode or contnode)