summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xtools/validate-yaml.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5d35dcc0..ed631cf7 100644
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ clean: clean_pyc
rm -rf /var/log/cloud-init.log /var/lib/cloud/
yaml:
- @$(CWD)/tools/validate-yaml.py $(YAML_FILES)
+ @$(PYVER) $(CWD)/tools/validate-yaml.py $(YAML_FILES)
rpm:
./packages/brpm --distro $(distro)
diff --git a/tools/validate-yaml.py b/tools/validate-yaml.py
index d8bbcfcb..a57ea847 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.
"""