Define u to stop function whining if nothing is passed

This commit is contained in:
2010-08-27 22:51:10 +01:00
parent 5a19e744d1
commit acb9674d35

View File

@@ -60,6 +60,7 @@ class LoginHandler(BaseHandler):
def read(self, request, id=None):
u = None
if id:
try:
u = User.objects.get(id=id)