← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~harlowja/cloud-init:yaml-check-python into cloud-init:master


Joshua Harlow has proposed merging ~harlowja/cloud-init:yaml-check-python into cloud-init:master.

Requested reviews:
  cloud init development team (cloud-init-dev)

For more details, see:
Your team cloud init development team is requested to review the proposed merge of ~harlowja/cloud-init:yaml-check-python into cloud-init:master.
diff --git a/Makefile b/Makefile
old mode 100644
new mode 100755
index 5d35dcc..8f9a520
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,6 @@ endif
 READ_VERSION=$(shell $(PYVER) $(CWD)/tools/read-version)
 CODE_VERSION=$(shell $(PYVER) -c "from cloudinit import version; print(version.version_string())")
 all: check
 check: check_version pep8 $(pyflakes) test $(yaml)
diff --git a/tools/validate-yaml.py b/tools/validate-yaml.py
index ed9037d..6e16459 100755
--- a/tools/validate-yaml.py
+++ b/tools/validate-yaml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
 """Try to read a YAML file and report any errors.

Follow ups