Issue 3915, error in error message.

svn: r15316
This commit is contained in:
Peter Landgren 2010-05-04 11:53:48 +00:00
parent b41598c645
commit ff705565a4

View File

@ -433,12 +433,13 @@ class ManagedWindow(object):
def get_widget(self, name):
assert(self._gladeobj)
name = 'nisse'
object = self._gladeobj.get_child_object(name)
if object is not None:
return object
raise ValueError, (
'ManagedWindow.get_widget: "%s" widget not found in "%s"' %
(name, self._gladeobj.get_name())
'ManagedWindow.get_widget: "%s" widget not found in "%s/%s"' %
(name, self._gladeobj.dirname, self._gladeobj.filename)
)
return object