Skip categories that aren't in the cache. This takes care of 'identifiers', which isn't a category yet

This commit is contained in:
Charles Haley 2011-03-01 13:36:55 +00:00
parent b01e421a9e
commit c82ef56145

View File

@ -673,6 +673,8 @@ class BrowseServer(object):
categories = [categories]
dbtags = []
for category in categories:
if category not in ccache:
continue
dbtag = None
for tag in ccache[key]:
if tag.name == category: