diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-12 08:18:50 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-12 08:24:06 +0200 |
commit | 1299e9a2729c825bdd77d4598b17d04e2393dfe2 (patch) | |
tree | ef0061b6e3b4e59422587829bd89da57f6ac1c03 | |
parent | cd4fd5d237c6decac7f7b4b2442654c276f53035 (diff) | |
download | extrautils-1299e9a2729c825bdd77d4598b17d04e2393dfe2.tar.gz |
port to python3
-rwxr-xr-x | print-argv | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 <http://www.gnu.org/licenses/>. @@ -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)) |