Fix resolution of references without domain.

This commit is contained in:
Georg Brandl 2009-08-09 22:05:03 +02:00
parent af87d555ee
commit f64d01bea2

View File

@ -1215,7 +1215,7 @@ class BuildEnvironment:
target = node['reftarget']
try:
if node.has_key('refdomain'):
if node.has_key('refdomain') and node['refdomain']:
# let the domain try to resolve the reference
try:
domain = self.domains[node['refdomain']]