web/views/baseviews.py
branchstable
changeset 2996 866a2c135c33
parent 2645 91c71276f999
child 3023 7864fee8b4ec
child 3165 0a50ebe53db7
child 3235 bad0ff9b0c13
--- a/web/views/baseviews.py	Tue Aug 25 19:42:19 2009 +0200
+++ b/web/views/baseviews.py	Tue Aug 25 22:57:47 2009 +0200
@@ -51,13 +51,13 @@
     """
     id = 'final'
     # record generated i18n catalog messages
-    _('%d years')
-    _('%d months')
-    _('%d weeks')
-    _('%d days')
-    _('%d hours')
-    _('%d minutes')
-    _('%d seconds')
+    _('%d years')
+    _('%d months')
+    _('%d weeks')
+    _('%d days')
+    _('%d hours')
+    _('%d minutes')
+    _('%d seconds')
     _('%d years')
     _('%d months')
     _('%d weeks')
@@ -80,7 +80,7 @@
             # value is DateTimeDelta but we have no idea about what is the
             # reference date here, so we can only approximate years and months
             if format == 'text/html':
-                space = ' '
+                space = ' '
             else:
                 space = ' '
             if value.days > 730: # 2 years
@@ -111,7 +111,7 @@
         secondary = icon + view(oneline)
         """
         entity = self.entity(row, col)
-        self.w(u' ')
+        self.w(u' ')
         self.wview('oneline', self.rset, row=row, col=col)