web/views/baseviews.py
changeset 3023 7864fee8b4ec
parent 2789 39712da6f397
parent 2996 866a2c135c33
child 3185 bd0126d17e83
--- a/web/views/baseviews.py	Fri Aug 21 16:26:20 2009 +0200
+++ b/web/views/baseviews.py	Wed Aug 26 14:45:56 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.rset.get_entity(row, col)
-        self.w(u' ')
+        self.w(u' ')
         self.wview('oneline', self.rset, row=row, col=col)