python and salt snippets