mozilla-services/cornice — Issue #37: Errors in documentation
Author: oleiade
Created: 2012-02-21 08:58:41+00:00
State: open

###In the Full Tutorial

1. ####request.validated section
```python
from webob import HTTPUnauthorized
```
doesn't work with the pip installed webob package and does not comply with the example which explicitly uses :
```python
raise exc.HTTPUnauthorized()
```

Should be replaced with:
```python
from webob import exc
```

2. #### In users management

The_USERS variable is defined as a list, and later used as a dictionnary :
```python
_USERS[user['name']] = user['token']
```
replace _USERS = [] with _USERS = {} seems to make it, but I haven't dig enough to know if it actually should be a dict or a list :-)