Fix long line.

This commit is contained in:
Georg Brandl 2010-01-08 20:40:28 +01:00
parent 2a2a66a923
commit 883b40b7e9

View File

@ -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,