Mercurial > getan
changeset 230:8e9e894552e8
Lower debug output
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 08 Apr 2013 15:34:32 +0200 |
parents | 693cc3504a94 |
children | 2c944fd2cd0c |
files | getan/nodes.py getan/view.py getan/walker.py |
diffstat | 3 files changed, 2 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/nodes.py Fri Apr 05 20:19:23 2013 +0200 +++ b/getan/nodes.py Mon Apr 08 15:34:32 2013 +0200 @@ -67,7 +67,6 @@ def render(self, size, focus=False): self.focus = focus self.update_w() - logger.info("Render Node %r focus %s" % (self, focus)) return self._w.render(size, focus) def update(self): @@ -140,8 +139,3 @@ short_time(self.item.duration().seconds), self.item.desc), wrap='clip') return urwid.AttrMap(row, None) - - def render(self, size, focus=False): - logger.info("Render EntryNode %r focus %s" % (self, focus)) - return super(EntryNode, self).render(size, focus) -
--- a/getan/view.py Fri Apr 05 20:19:23 2013 +0200 +++ b/getan/view.py Mon Apr 08 15:34:32 2013 +0200 @@ -56,7 +56,7 @@ self._invalidate() def keypress(self, size, key): - logger.info("Handling keypres for %r" % self) + logger.debug("Handling keypres for %r" % self) return self.frame.keypress(size, key) def set_rows(self, rows): @@ -129,7 +129,6 @@ pass - class ProjectList(ListWidget): PROJECT_MODES = { @@ -242,7 +241,7 @@ def content_focus_changed(self): item = self.item_in_focus() - logger.info("Conten in focus changed %s" % item) + logger.debug("Conten in focus changed %s" % item) if item: self.controller.update_entries(item)
--- a/getan/walker.py Fri Apr 05 20:19:23 2013 +0200 +++ b/getan/walker.py Mon Apr 08 15:34:32 2013 +0200 @@ -15,7 +15,6 @@ class ListWalker(urwid.SimpleListWalker): def __init__(self, content, widget=None): - logger.info("Init ListWalker") super(ListWalker, self).__init__(content) self.widget = widget self.position = None