When triple-quoting like this, the newline and tab will appear in the string.  One trick to avoid this is to use `textwrap.dedent`:
```
from textwrap import dedent
error_message = dedent(u"""
    This error message will be dedented.
""").strip()
```