Add a missing assignment.

This commit is contained in:
Georg Brandl committed 2010-07-27 19:08:09 +02:00
1 parent 3b64ec2a2e
commit e081cf4d3b
1 file changed
+1
+1
View File
@@ -142,6 +142,7 @@ class TypedField(GroupedField):
par += self.make_xref(self.rolename, domain, fieldarg, nodes.strong)
if fieldarg in types:
par += nodes.Text(' (')
fieldtype = types[fieldarg]
if len(fieldtype) == 1 and isinstance(fieldtype[0], nodes.Text):
typename = u''.join(n.astext() for n in types[fieldarg])
par += self.make_xref(self.typerolename, domain, typename)