From f3d74f5dfeedd0691ec6a6a83d8e1e8c90cb26ce Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 10 Oct 2011 15:57:40 +0000 Subject: [PATCH] Typo: menu not defined svn: r18278 --- src/plugins/textreport/NumberOfAncestorsReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/textreport/NumberOfAncestorsReport.py b/src/plugins/textreport/NumberOfAncestorsReport.py index 4f7b71f34..3cfbbdc57 100644 --- a/src/plugins/textreport/NumberOfAncestorsReport.py +++ b/src/plugins/textreport/NumberOfAncestorsReport.py @@ -82,7 +82,7 @@ class NumberOfAncestorsReport(Report): # Copy the global NameDisplay so that we don't change application # defaults. self._name_display = copy.deepcopy(global_name_display) - name_format = menu.get_option_by_name("name_format").get_value() + name_format = options_class.menu.get_option_by_name("name_format").get_value() if name_format != 0: self._name_display.set_default_format(name_format)