Elasticsearch-lang-python - no multiline scripts?

Did a search, but could not find an answer.

I'm curious as to why a multiline script returns a null exception when calling a stored script with the script module

I'd like to be able to do more than just a one line calculation, but haven't been able to.

Using elasticsearch 1.7 and lang-python 2.7.0

Thanks for reading!