Mercurial > libervia-web
comparison src/browser/sat_browser/base_widget.py @ 527:4c6d7db9b45c
browser_side: change a log.debug to log.error
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 05 Sep 2014 10:40:52 +0200 |
parents | db3436c85fb1 |
children | 048ae7314156 |
comparison
equal
deleted
inserted
replaced
526:ee38b6a87692 | 527:4c6d7db9b45c |
---|---|
265 if class_ is None: | 265 if class_ is None: |
266 return current # this is the default behavior | 266 return current # this is the default behavior |
267 while current is not None and not isinstance(current, class_): | 267 while current is not None and not isinstance(current, class_): |
268 current = Widget.getParent(current) | 268 current = Widget.getParent(current) |
269 if current is None and expect: | 269 if current is None and expect: |
270 log.debug("Can't find parent %s for %s" % (class_, self)) | 270 log.error("Can't find parent %s for %s" % (class_, self)) |
271 return current | 271 return current |
272 | 272 |
273 def onClick(self, sender): | 273 def onClick(self, sender): |
274 self.host.setSelected(self) | 274 self.host.setSelected(self) |
275 | 275 |