From b2ca292389eb23ebe868957ce118a19f24c4be5e Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 14 Feb 2010 13:34:23 +0000 Subject: [PATCH] Bug fix for source == None svn: r14363 --- src/ReportBase/_Endnotes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ReportBase/_Endnotes.py b/src/ReportBase/_Endnotes.py index 10fdb3c99..07d6ce75e 100644 --- a/src/ReportBase/_Endnotes.py +++ b/src/ReportBase/_Endnotes.py @@ -151,6 +151,8 @@ def write_endnotes(bibliography, database, doc, printnotes=False): ind += 1 def _format_source_text(source): + if not source: return "" + src_txt = "" if source.get_author():