]> www.infradead.org Git - mtd-www.git/commitdiff
Explicitly use python2 in the interpreter line
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Tue, 27 Sep 2022 07:50:02 +0000 (09:50 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Tue, 27 Sep 2022 07:50:02 +0000 (09:50 +0200)
Many Distributions have now switched to having python3 set
as default, so the scripts need to explicitly specify that
they want version 2. In the long run, the scripts will
have to be updated eventually.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
html.py
nand-data/csvtohtml.py

diff --git a/html.py b/html.py
index c27091ac94336d81f239598924ec3a1eeb430718..33bf17a8ff9a430b2e5032367671624911323530 100755 (executable)
--- a/html.py
+++ b/html.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Simple XML to HTML converter.
 # 
index 36c72aaf785f844df9fc02fbca4cf9b9acc1bd7a..a52c4d70562b498a757fcbcce7728a61582feae1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import sys, getopt, csv, operator