Merge branch 'tor-github/pr/1743'

This commit is contained in:
David Goulet 2020-02-18 09:06:13 -05:00
commit 17724a7cde
18 changed files with 22 additions and 17 deletions

5
changes/ticket33192 Normal file
View File

@ -0,0 +1,5 @@
o Minor feature (python):
- Stop assuming that /usr/bin/python exists. Instead of using a
hardcoded path in scripts that still use Python 2, use /usr/bin/env,
similarly to the scripts that use Python 3. Fixes bug 33192; bugfix
on 0.4.2.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright 2014-2019, The Tor Project, Inc
# See LICENSE for licensing information

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# coding=utf-8
# Copyright 2011-2019, The Tor Project, Inc
# original version by Arturo Filastò

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright 2014-2019, The Tor Project, Inc.
# See LICENSE for license information

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2017-2019, The Tor Project, Inc.
# See LICENSE for licensing information

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 file is no longer here; see practracker/includes.py for this

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2014-2019, The Tor Project, Inc.
# See LICENSE for licensing information
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
This script parses the stderr output of doxygen and looks for undocumented

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

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.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
Best-practices tracker for Tor source code.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""Some simple tests for practracker metrics"""

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright (c) 2008-2019, The Tor Project, Inc.
# See LICENSE for licensing information.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2014-2019, The Tor Project, Inc.
# See LICENSE for licensing information