[master] 4fb3afa17 Switch to python3 in all our scripts shebangs

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Mar 12 10:00:14 UTC 2019


commit 4fb3afa17f705ce4bdf8cf3c3f5aea902e612459
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Mar 12 10:30:35 2019 +0100

    Switch to python3 in all our scripts shebangs

diff --git a/bin/varnishtest/huffman_gen.py b/bin/varnishtest/huffman_gen.py
index ab6b30e87..dd4f8e1e8 100755
--- a/bin/varnishtest/huffman_gen.py
+++ b/bin/varnishtest/huffman_gen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import re
 import sys
diff --git a/bin/varnishtest/witness.py b/bin/varnishtest/witness.py
index a4f0fffa6..af4a56e55 100644
--- a/bin/varnishtest/witness.py
+++ b/bin/varnishtest/witness.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # This script is in the public domain
 #
diff --git a/doc/sphinx/vtc-syntax.py b/doc/sphinx/vtc-syntax.py
index d98fc96e5..161c50a02 100644
--- a/doc/sphinx/vtc-syntax.py
+++ b/doc/sphinx/vtc-syntax.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (c) 2006-2016 Varnish Software AS
 # All rights reserved.
diff --git a/include/generate.py b/include/generate.py
index e7d547593..c1ea3bcbb 100755
--- a/include/generate.py
+++ b/include/generate.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (c) 2006 Verdens Gang AS
 # Copyright (c) 2006-2015 Varnish Software AS
diff --git a/include/tbl/style.py b/include/tbl/style.py
index a88c475a3..0e7f657fb 100644
--- a/include/tbl/style.py
+++ b/include/tbl/style.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Very basic style-checker for include/tbl files.
 
diff --git a/lib/libvarnishapi/generate.py b/lib/libvarnishapi/generate.py
index d1357c985..ea4ebd02a 100755
--- a/lib/libvarnishapi/generate.py
+++ b/lib/libvarnishapi/generate.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #-
 # Copyright (c) 2006 Verdens Gang AS
 # Copyright (c) 2006-2015 Varnish Software AS
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 991c29ae6..09af2d6d9 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (c) 2006 Verdens Gang AS
 # Copyright (c) 2006-2015 Varnish Software AS
diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 6cf6fdfaa..22145e64a 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (c) 2010-2016 Varnish Software
 # All rights reserved.
diff --git a/lib/libvcc/vsctool.py b/lib/libvcc/vsctool.py
index d93871b73..2d7f69d55 100644
--- a/lib/libvcc/vsctool.py
+++ b/lib/libvcc/vsctool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- encoding: utf-8 -*-
 #
 # Copyright (c) 2017 Varnish Software AS
diff --git a/tools/gcov_digest.py b/tools/gcov_digest.py
index 188fb499d..3fbfdf946 100644
--- a/tools/gcov_digest.py
+++ b/tools/gcov_digest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (c) 2017 Varnish Software AS
 # All rights reserved.
diff --git a/tools/include_wash.py b/tools/include_wash.py
index 973d5d6ad..94c11ba2c 100644
--- a/tools/include_wash.py
+++ b/tools/include_wash.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 


More information about the varnish-commit mailing list