瀏覽代碼

Close stream.

tags/2016.12
Michael Kutý 9 年之前
父節點
當前提交
73bf156ff1
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      linux/system/doc.sls

+ 1
- 1
linux/system/doc.sls 查看文件

@@ -21,7 +21,7 @@ linux_system_doc_validity_check:
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:

Loading…
取消
儲存