author | Graziella Toutoungis <graziella.toutoungis@logilab.fr> |
Mon, 11 May 2009 09:56:21 +0200 | |
branch | tls-sprint |
changeset 1718 | 26ff2d292183 |
parent 1717 | d2c4d3bd0602 |
child 1719 | bf26f32c8a72 |
web/request.py | file | annotate | diff | comparison | revisions |
--- a/web/request.py Mon May 11 08:02:49 2009 +0200 +++ b/web/request.py Mon May 11 09:56:21 2009 +0200 @@ -623,7 +623,7 @@ score = float(score[2:]) # remove 'q=' except ValueError: continue - values.append(value, score) + values.append((score, value)) values.sort(reverse=True) return (value for (score, value) in values)