| commit | dca8dabd63a95169803e69364a58222f41497879 | [log] [tgz] |
|---|---|---|
| author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 00:24:43 2013 -0400 |
| committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 00:24:43 2013 -0400 |
| tree | 0cb6df159ac8f29ed1cb8eb24a94dce9ab049bed | |
| parent | 9f2379721b2cb92f2bd035402d6fc318696f1099 [diff] [blame] |
fix syntax error
diff --git a/plstackapi/planetstack/views/roles.py b/plstackapi/planetstack/views/roles.py index 6a08daa..8286f9f 100644 --- a/plstackapi/planetstack/views/roles.py +++ b/plstackapi/planetstack/views/roles.py
@@ -14,7 +14,7 @@ def post(self, request, format = None): - if 'auth' not in request.DATA + if 'auth' not in request.DATA: return Response(status=status.HTTP_400_BAD_REQUEST) else if 'name' in request.DATA: role = add_role(request.DATA['auth'], request.DATA['name'])