--- a/web/request.py Thu May 07 17:33:15 2009 +0200
+++ b/web/request.py Mon May 11 08:02:49 2009 +0200
@@ -17,6 +17,7 @@
from rql.utils import rqlvar_maker
from logilab.common.decorators import cached
+from logilab.common.deprecation import obsolete
from cubicweb.dbapi import DBAPIRequest
from cubicweb.common.mail import header
@@ -618,7 +619,7 @@
for score in scores.split(';'):
try:
scorekey, scoreval = score.split('=')
- if scorekey = 'q': # XXX 'level'
+ if scorekey == 'q': # XXX 'level'
score = float(score[2:]) # remove 'q='
except ValueError:
continue