Permalink
Browse files

small change

  • Loading branch information...
1 parent e7cc61d commit 516a05eef12098c4b53f0aaa28be53cc1605d332 thanhdat committed Sep 10, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 warp/crud/render.py
View
@@ -147,8 +147,7 @@ def getRequestObject(self, request):
objID = int(request.resource.args[0])
except Exception:
return None
- obj = request.store.get(self.model, objID)
- return obj
+ return request.store.get(self.model, objID)
def render_view(self, request):
obj = self.getRequestObject(request)

0 comments on commit 516a05e

Please sign in to comment.