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