Doesn't handle links to family, yet

svn: r17065
This commit is contained in:
Doug Blank 2011-04-06 19:54:11 +00:00
parent 6bfd32d306
commit 86cc357052

View File

@ -6218,6 +6218,9 @@ class NavWebReport(Report):
subdir = "img"
elif obj_class == "Repository":
subdir = "repo"
elif obj_class == "Family":
# FIXME: no family page in NarWeb
return None
else:
raise AttributeError("unknown object type '%s'" % obj_class)
return self.build_url_fname(handle, subdir, up) + self.ext