Typo: menu not defined

svn: r18278
This commit is contained in:
Doug Blank 2011-10-10 15:57:40 +00:00
parent 552602da8b
commit f3d74f5dfe

View File

@ -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)