Doesn't handle links to family, yet
svn: r17066
This commit is contained in:
parent
c3bc7cd925
commit
168b49d217
@ -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