From 1299e9a2729c825bdd77d4598b17d04e2393dfe2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 12 Mar 2021 08:18:50 +0200 Subject: port to python3 --- print-argv | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/print-argv b/print-argv index 9898670..5327989 100755 --- a/print-argv +++ b/print-argv @@ -1,16 +1,16 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright 2012 Lars Wirzenius -# +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program. If not, see . @@ -19,4 +19,4 @@ import sys for i, arg in enumerate(sys.argv): - sys.stdout.write('[%d]: %s\n' % (i, arg)) + sys.stdout.write("[%d]: %s\n" % (i, arg)) -- cgit v1.2.1