changeset 1459:49c65ec25f57

no need to check validity of page.page.rev
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Tue, 22 Aug 2006 21:47:13 +0200
parents 3d41f9a5e794
children 44a52e7ff380
files MoinMoin/search/results.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/results.py	Tue Aug 22 21:34:07 2006 +0200
+++ b/MoinMoin/search/results.py	Tue Aug 22 21:47:13 2006 +0200
@@ -742,7 +742,7 @@
             f.paragraph(1, attr={'class': 'searchhitinfobar'}),
             f.text('%.1fk - ' % (page.page.size()/1024.0)),
             f.text('rev: %d %s- ' % (rev,
-                page.page.rev and rev == page.page.getRevList()[0] and 
+                rev == page.page.getRevList()[0] and 
                 '(%s) ' % _('current') or '')),
             f.text('last modified: %(time)s' % page.page.lastEditInfo()),
             # XXX: proper metadata