Er, fix tabledoc

This commit is contained in:
Andrew Ekstedt 2014-07-06 11:52:06 -07:00
parent 19d7335399
commit e71043ae14

View file

@ -183,7 +183,8 @@ def generate_columns(cls, remaining_attrs):
else:
yield column_header(c, name) + ':'
yield u''
yield u' ' + unicode(c.__doc__)
if c.doc:
yield u' ' + unicode(c.doc)
yield u''
@with_header(u'Internationalized strings')
@ -198,7 +199,8 @@ def generate_strings(cls, remaining_attrs):
yield column_header(c, cls.__name__,
translation_class.__table__.name)
yield u''
yield u' ' + unicode(c.__doc__)
if c.doc:
yield u' ' + unicode(c.doc)
yield u''
@with_header(u'Relationships')