From: Thierry Reding treding@nvidia.com
This script is incompatible with Python 3, so make sure it is run using Python 2 explicitly. This establishes compatibility on systems that default to Python 3 and which make the python symlink point to the Python 3 binary.
For further background, see:
https://www.python.org/dev/peps/pep-0394/
Signed-off-by: Thierry Reding treding@nvidia.com --- parse-platforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parse-platforms.py b/parse-platforms.py index 748374953370..1b7b856773de 100755 --- a/parse-platforms.py +++ b/parse-platforms.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2
import sys, os, argparse, ConfigParser