Stop assuming that /usr/bin/python exists

Fixes 33192
This commit is contained in:
Panagiotis Vasilopoulos
2020-02-16 21:58:01 +02:00
parent a6509cb867
commit 674a821fbb
18 changed files with 22 additions and 17 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright 2018 The Tor Project, Inc. See LICENSE file for licensing info.
"""This script looks through all the directories for files matching *.c or
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Implementation of various source code metrics.
# These are currently ad-hoc string operations and regexps.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
Best-practices tracker for Tor source code.
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""Some simple tests for practracker metrics"""