Mercurial > getan
changeset 363:1be996254ad5
Fix: Entry.duration got renamed to Entry.get_duration
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 03 Mar 2014 15:08:30 +0100 |
parents | 90c09cca49c3 |
children | 2b0b7d5bbbae |
files | getan/nodes.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/nodes.py Mon Mar 03 15:08:07 2014 +0100 +++ b/getan/nodes.py Mon Mar 03 15:08:30 2014 +0100 @@ -141,6 +141,6 @@ logger.debug("EntryNode: update entry '%s'." % self.item.desc) row = urwid.Text(' %s [%s] %s' % (format_datetime(self.item.start), - short_time(self.item.duration().seconds), + short_time(self.item.get_duration().seconds), self.item.desc), wrap='clip') return urwid.AttrMap(row, None)