Mercurial > pylearn
diff doc/taglist.py @ 1223:621e03253f0c
mini-bug in taglist
author | boulanni <nicolas_boulanger@hotmail.com> |
---|---|
date | Wed, 22 Sep 2010 15:08:39 -0400 |
parents | c0515c0dfef9 |
children |
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))