# HG changeset patch # User boulanni # Date 1285182519 14400 # Node ID 621e03253f0c68f43c3834bd004fdca692b53264 # Parent 9ce32a8252d242c39f9d73d600a64895049e5e9e mini-bug in taglist diff -r 9ce32a8252d2 -r 621e03253f0c doc/taglist.py --- 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))