From 563e53bb36783505d3e81aeb517f34933dd29d69 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 11 Mar 2020 15:32:45 +1100 Subject: Backport: Add or update #! lines of Python scripts to use python3. Backport of changeset 7999:7422719fcc68. --- scripts/HeaderCheck.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/HeaderCheck.py') diff --git a/scripts/HeaderCheck.py b/scripts/HeaderCheck.py index 715859c5a..18f980883 100644 --- a/scripts/HeaderCheck.py +++ b/scripts/HeaderCheck.py @@ -1,5 +1,7 @@ +#!/usr/bin/env python3 # Script to check that headers are in a consistent order -# Requires Python 2.6 or later +# Canonical header order is defined in scripts/HeaderOrder.txt +# Requires Python 3.6 or later from __future__ import print_function import codecs, glob, os, platform, sys, unicodedata -- cgit v1.2.3