0001878: bug: AttributeError: BookReportDialog instance has no attribute 'has_attribute'
svn: r10173
This commit is contained in:
@@ -466,7 +466,8 @@ class ManagedWindow:
|
||||
if self.isWindow :
|
||||
self.present(self)
|
||||
else :
|
||||
assert self.has_attribute('window'), "ManagedWindow: self.window does not exist!"
|
||||
assert hasattr(self, 'window'), \
|
||||
"ManagedWindow: self.window does not exist!"
|
||||
self.window.present()
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user