changeset 1453:5b60d84fddb7

check if there's the revision
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Mon, 21 Aug 2006 19:36:23 +0200
parents 95a46e89778e
children 4f355732e01f
files MoinMoin/search/builtin.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/builtin.py	Mon Aug 21 19:35:33 2006 +0200
+++ b/MoinMoin/search/builtin.py	Mon Aug 21 19:36:23 2006 +0200
@@ -519,7 +519,7 @@
             pagename = valuedict['pagename']
             attachment = valuedict['attachment']
 
-            if 'revision' in valuedict and valuedict['valuedict']:
+            if 'revision' in valuedict and valuedict['revision']:
                 revision = int(valuedict['revision'])
             else:
                 revision = None