Doesn't handle links to family, yet
svn: r17065
This commit is contained in:
parent
6bfd32d306
commit
86cc357052
@ -6218,6 +6218,9 @@ class NavWebReport(Report):
|
|||||||
subdir = "img"
|
subdir = "img"
|
||||||
elif obj_class == "Repository":
|
elif obj_class == "Repository":
|
||||||
subdir = "repo"
|
subdir = "repo"
|
||||||
|
elif obj_class == "Family":
|
||||||
|
# FIXME: no family page in NarWeb
|
||||||
|
return None
|
||||||
else:
|
else:
|
||||||
raise AttributeError("unknown object type '%s'" % obj_class)
|
raise AttributeError("unknown object type '%s'" % obj_class)
|
||||||
return self.build_url_fname(handle, subdir, up) + self.ext
|
return self.build_url_fname(handle, subdir, up) + self.ext
|
||||||
|
Loading…
Reference in New Issue
Block a user