summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-12 08:02:15 +0200
committerLars Wirzenius <liw@liw.fi>2021-03-12 08:02:15 +0200
commit782f82a2bed85db12ce12d136ae2bc4a41fb8233 (patch)
treef248eeab039df4957318716c49ad55ef83a24801
parentc6d96aca9ff83c05a22ab9d23969b9e9da863964 (diff)
downloadextrautils-782f82a2bed85db12ce12d136ae2bc4a41fb8233.tar.gz
refactor(argv0): use Python3, reformat
-rwxr-xr-xargv05
1 files changed, 3 insertions, 2 deletions
diff --git a/argv0 b/argv0
index f08a1ed..93d09ee 100755
--- a/argv0
+++ b/argv0
@@ -1,6 +1,7 @@
-#!/usr/bin/python
+#!/usr/bin/python3
-import sys, os
+import sys
+import os
argv = sys.argv[2:]
os.execvp(sys.argv[1], argv)