Mercurial > pylearn
changeset 1223:621e03253f0c
mini-bug in taglist
author | boulanni <nicolas_boulanger@hotmail.com> |
---|---|
date | Wed, 22 Sep 2010 15:08:39 -0400 |
parents | 9ce32a8252d2 |
children | f68b857eb11b |
files | doc/taglist.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/taglist.py Wed Sep 22 14:06:18 2010 -0400 +++ b/doc/taglist.py Wed Sep 22 15:08:39 2010 -0400 @@ -53,7 +53,7 @@ if not hasattr(env, 'tags_db'): env.tags_db = defaultdict(set) - if what == 'function': + if what == 'function' and hasattr(obj, 'tags'): for tag in obj.tags: env.tags_db[tag].add((env.docname, name))