fixed check for attribute 'window' by using has_attribute()
0001867: Patch containing fixes (for reporting and general) svn: r10151
This commit is contained in:
parent
76d7b01103
commit
1f57d5224c
@ -1,4 +1,9 @@
|
|||||||
2008-02-26 Brian Matherly <brian@gramps-project.org>
|
2008-03-01 Bob Ham <rah@bash.sh>
|
||||||
|
* src/ManagedWindow.py (ManagedWindow.present): fixed check for
|
||||||
|
attribute 'window' by using has_attribute()
|
||||||
|
0001867: Patch containing fixes (for reporting and general)
|
||||||
|
|
||||||
|
2008-03-01 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/ReportBase/_CommandLineReport.py:
|
* src/ReportBase/_CommandLineReport.py:
|
||||||
0001855: BUG when running family_group report from command line
|
0001855: BUG when running family_group report from command line
|
||||||
(no attribute get_gramps_id)
|
(no attribute get_gramps_id)
|
||||||
|
@ -466,7 +466,7 @@ class ManagedWindow:
|
|||||||
if self.isWindow :
|
if self.isWindow :
|
||||||
self.present(self)
|
self.present(self)
|
||||||
else :
|
else :
|
||||||
assert self.window, "ManagedWindow: self.window does not exist!"
|
assert self.has_attribute('window'), "ManagedWindow: self.window does not exist!"
|
||||||
self.window.present()
|
self.window.present()
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user