From 0a92e1a8a884ee7e06772b39fb00978d6fa73f5c Mon Sep 17 00:00:00 2001 From: WGH Date: Mon, 17 Dec 2018 20:49:31 +0300 Subject: [PATCH] Specify Python version explicitly in shebangs Fixes compilation failures in distributions that have 'python' refer to Python 3. See issue #92. --- src/fingerprints2sqli.py | 2 +- src/make_parens.py | 2 +- src/sqlparse2c.py | 2 +- src/sqlparse_map.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fingerprints2sqli.py b/src/fingerprints2sqli.py index 4fe1890f..0c80ed15 100755 --- a/src/fingerprints2sqli.py +++ b/src/fingerprints2sqli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 """ Small script to convert fingerprints back to SQL or SQLi """ diff --git a/src/make_parens.py b/src/make_parens.py index 554a08cd..8d610b73 100755 --- a/src/make_parens.py +++ b/src/make_parens.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # pylint: disable=C0103,R0911,R0912,R0915 # disable short-variable-names, too many branches, returns, statements """ diff --git a/src/sqlparse2c.py b/src/sqlparse2c.py index 5b37a5b1..d705dbe4 100755 --- a/src/sqlparse2c.py +++ b/src/sqlparse2c.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright 2012, 2013 Nick Galbreath # nickg@client9.com diff --git a/src/sqlparse_map.py b/src/sqlparse_map.py index 7c2797c3..67aa0409 100755 --- a/src/sqlparse_map.py +++ b/src/sqlparse_map.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # pylint: disable=C0301,C0302 # Turn off line-too-long, and too-many-lines warnings #