From f8b0cde0bd0f9b67dc631908e69da2c7b6e6cf0e Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 10 Jul 2012 17:04:15 +0000 Subject: [PATCH] 5905: Links (other than internet) in Notes don't work in NAVWEB; don't crash and handle Family svn: r19974 --- src/plugins/webreport/NarrativeWeb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 36b6ada6a..5563d4745 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -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):