[Getan-commits] [PATCH 2 of 2] Fix: Entry.duration got renamed to Entry.get_duration
Wald Commits
scm-commit at wald.intevation.org
Mon Mar 3 15:08:35 CET 2014
# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1393855710 -3600
# Node ID 1be996254ad5a1253fd2de94cb83395647ec3cb6
# Parent 90c09cca49c391d63eb23fb595ff482d4e226c74
Fix: Entry.duration got renamed to Entry.get_duration
diff -r 90c09cca49c3 -r 1be996254ad5 getan/nodes.py
--- 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)
More information about the Getan-commits
mailing list