From c964fa3e4312b83cd20b6d47fabcee290a1ab1c7 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 17 Mar 2018 11:05:11 +0200 Subject: Change: prettyml to use Python3 --- prettyml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prettyml b/prettyml index f4fbb5e..fac3ebb 100755 --- a/prettyml +++ b/prettyml @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 import sys @@ -12,6 +12,7 @@ def inputs(args): else: yield '-', sys.stdin + objs = [] for filename, f in inputs(sys.argv[1:]): objs.append(yaml.safe_load(f)) -- cgit v1.2.1