Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha 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)
commit9b047d21923e34bf1d3dc1155ad83106e2acc5d4 (patch)
tree0e18dc052d25eeafd880b1cf628ceacc6ced173d
parenta10b02dd14b5afc6791208cd96bc988de26bfac8 (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.py5
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'))