alecthomas/voluptuous — pull request #19 by rwieckowski (2013-01-06 10:57:30+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']
```

*This is pull request does not contains unnecessary code mentioned at* [alecthomas/voluptuous#17](https://github.com/alecthomas/voluptuous/pull/17)