diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-03-17 11:05:11 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-03-17 11:39:56 +0200 |
commit | c964fa3e4312b83cd20b6d47fabcee290a1ab1c7 (patch) | |
tree | 4082482c9664068ba0b8e9e948c8df546cc18dab | |
parent | 5eea744d11fd391e0cea5bfe39b145c0b7998e5d (diff) | |
download | extrautils-c964fa3e4312b83cd20b6d47fabcee290a1ab1c7.tar.gz |
Change: prettyml to use Python3
-rwxr-xr-x | prettyml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)) |