Please use following construct for configuration variables:
```python
from invenio.base.globals import cfg
def foo():
    cfg["CFG_WEBMESSAGE_STATUS_CODE"]
```