5905: Links (other than internet) in Notes don't work in NAVWEB; don't crash and handle Family
svn: r19974
This commit is contained in:
parent
4b09c581d8
commit
f8b0cde0bd
@ -7498,10 +7498,10 @@ class NavWebReport(Report):
|
||||
elif obj_class == "Repository":
|
||||
subdir = "repo"
|
||||
elif obj_class == "Family":
|
||||
# FIXME: no family page in NarWeb
|
||||
return None
|
||||
subdir = "fam"
|
||||
else:
|
||||
raise AttributeError("unknown object type '%s'" % obj_class)
|
||||
print ("unknown object type '%s'" % obj_class)
|
||||
return None
|
||||
return self.build_url_fname(handle, subdir, up) + self.ext
|
||||
|
||||
def build_url_fname(self, fname, subdir = None, up = False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user