alecthomas/voluptuous — pull request #17 by rwieckowski (2013-01-04 20:06:19+00:00)
Title: Custom message for required keys.

Currently `required` class takes optional `msg` argument but it is never used. This change makes it works.

Following example
```python
import voluptuous as v

validate = v.Schema({v.required('one', 'required field'): 'two'})
validate({})
```

will produce
```
Traceback (most recent call last):
...
InvalidList: required field @ data['one']
```