mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix long line.
This commit is contained in:
parent
2a2a66a923
commit
883b40b7e9
@ -369,8 +369,8 @@ class StandardDomain(Domain):
|
||||
docname, labelid = self.data['objects'].get((typ, target), ('', ''))
|
||||
if not docname:
|
||||
if typ == 'term':
|
||||
env.warn(node['refdoc'], 'term not in glossary: %s' % target,
|
||||
node.line)
|
||||
env.warn(node['refdoc'],
|
||||
'term not in glossary: %s' % target, node.line)
|
||||
return None
|
||||
else:
|
||||
return make_refnode(builder, fromdocname, docname,
|
||||
|
Loading…
Reference in New Issue
Block a user