diff options
author | Sascha Silbe <silbe@activitycentral.com> | 2011-01-21 17:57:06 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2011-02-05 15:25:24 (GMT) |
commit | 9b047d21923e34bf1d3dc1155ad83106e2acc5d4 (patch) | |
tree | 0e18dc052d25eeafd880b1cf628ceacc6ced173d | |
parent | a10b02dd14b5afc6791208cd96bc988de26bfac8 (diff) |
fix stylistic mistake introduced by 79c85ed2
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Reviewed-by: Aleksey Lim <alsroot@activitycentral.org>
-rw-r--r-- | src/jarabe/journal/listmodel.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jarabe/journal/listmodel.py b/src/jarabe/journal/listmodel.py index cef636e..3902eba 100644 --- a/src/jarabe/journal/listmodel.py +++ b/src/jarabe/journal/listmodel.py @@ -147,9 +147,10 @@ class ListModel(gtk.GenericTreeModel, gtk.TreeDragSource): try: timestamp = float(metadata.get('timestamp', 0)) except (TypeError, ValueError): - self._cached_row.append(_('Unknown')) + timestamp_content = _('Unknown') else: - self._cached_row.append(util.timestamp_to_elapsed_string(timestamp)) + timestamp_content = util.timestamp_to_elapsed_string(timestamp) + self._cached_row.append(timestamp_content) try: creation_time = float(metadata.get('creation_time')) |