web/request.py
branchtls-sprint
changeset 1718 26ff2d292183
parent 1717 d2c4d3bd0602
child 1801 672acc730ce5
--- 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)