possible fix to issues 1682, REST and DELETE

This commit is contained in:
mdipierro
2013-09-19 18:33:27 -05:00
parent 8765dbbe0f
commit 01e5107a96
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.3-stable+timestamp.2013.09.19.18.25.38
Version 2.6.3-stable+timestamp.2013.09.19.18.31.43
+1 -1
View File
@@ -332,7 +332,7 @@ class Request(Storage):
if not rest_action:
raise HTTP(400, "method not supported")
try:
return rest_action(*_self.args, **_self.vars)
return rest_action(*_self.args, **getattr(_self,'vars',{}))
except TypeError, e:
exc_type, exc_value, exc_traceback = sys.exc_info()
if len(traceback.extract_tb(exc_traceback)) == 1: