polaris.job.clean_up_whitespace

polaris.job.clean_up_whitespace(text)[source]

Clean up whitespace after jinja templating

Parameters:

text (str) – Text to clean up

Returns:

text (str) – Text with extra blank lines removed