commit | 73bf156ff1942dda76469879166d567da8324512 | [log] [tgz] |
---|---|---|
author | Michael Kutý <6du1ro.n@gmail.com> | Wed Dec 02 10:35:35 2015 +0100 |
committer | Michael Kutý <6du1ro.n@gmail.com> | Wed Dec 02 10:35:35 2015 +0100 |
tree | b4617672037bbe8145cf5d33a0c68f3d058f7224 | |
parent | d46bee6edd690df8b71efdec13de52ffcc3baca2 [diff] |
Close stream.
diff --git a/linux/system/doc.sls b/linux/system/doc.sls index 7370e0c..55480ea 100644 --- a/linux/system/doc.sls +++ b/linux/system/doc.sls
@@ -21,7 +21,7 @@ pkg.installed: - name: python-yaml cmd.wait: - - name: python -c "import yaml; stream = file('/etc/salt/grains.d/sphinx', 'r'); yaml.load(stream)" + - name: python -c "import yaml; stream = file('/etc/salt/grains.d/sphinx', 'r'); yaml.load(stream); stream.close()" - require: - pkg: linux_system_doc_validity_check - watch: