From: David Oberhollenzer Date: Tue, 27 Sep 2022 07:50:02 +0000 (+0200) Subject: Explicitly use python2 in the interpreter line X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0555a3f7676f182d00bb80c294c7f23f3dfbad75;p=mtd-www.git Explicitly use python2 in the interpreter line 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 --- diff --git a/html.py b/html.py index c27091a..33bf17a 100755 --- a/html.py +++ b/html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Simple XML to HTML converter. # diff --git a/nand-data/csvtohtml.py b/nand-data/csvtohtml.py index 36c72aa..a52c4d7 100755 --- a/nand-data/csvtohtml.py +++ b/nand-data/csvtohtml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys, getopt, csv, operator