Permalink
Browse files

fix on return arguments

  • Loading branch information...
1 parent f062e62 commit 598dc123475319b1b4d897952b7c4c2730a4faae lepture committed Feb 8, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 tforms/forms.py
View
@@ -270,6 +270,7 @@ def validate(self):
return super(TornadoForm, self).validate(extra)
+
class _TornadoArgumentsWrapper(dict):
def __getattr__(self, key):
try:
@@ -294,8 +295,8 @@ def getlist(self, key):
if isinstance(v, unicode):
v = re.sub(r"[\x00-\x08\x0e-\x1f]", " ", v)
values.append(v)
+
+ values.reverse()
return values
except KeyError:
raise AttributeError
-
-

0 comments on commit 598dc12

Please sign in to comment.