Skip to content
Snippets Groups Projects
Verified Commit 674a821f authored by n0toose's avatar n0toose
Browse files

Stop assuming that /usr/bin/python exists

Fixes 33192
parent a6509cb8
No related branches found
No related tags found
No related merge requests found
Showing
with 22 additions and 17 deletions
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.
\ No newline at end of file
#!/usr/bin/python
#!/usr/bin/env python
# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division
......
#!/usr/bin/python
#!/usr/bin/env python
# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division
......
#!/usr/bin/python
#!/usr/bin/env python
# Copyright 2014-2019, The Tor Project, Inc
# See LICENSE for licensing information
......
#!/usr/bin/python
#!/usr/bin/env python
# coding=utf-8
# Copyright 2011-2019, The Tor Project, Inc
# original version by Arturo Filastò
......
#!/usr/bin/python
#!/usr/bin/env python
# Copyright 2014-2019, The Tor Project, Inc.
# See LICENSE for license information
......
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2017-2019, The Tor Project, Inc.
# See LICENSE for licensing information
......
#!/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
......
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2014-2019, The Tor Project, Inc.
# See LICENSE for licensing information
#
......
#!/usr/bin/python
#!/usr/bin/env python
# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division
......
#!/usr/bin/python
#!/usr/bin/env python
"""
This script parses the stderr output of doxygen and looks for undocumented
......
#!/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
......
#!/usr/bin/python
#!/usr/bin/env python
# Implementation of various source code metrics.
# These are currently ad-hoc string operations and regexps.
......
#!/usr/bin/python
#!/usr/bin/env python
"""
Best-practices tracker for Tor source code.
......
#!/usr/bin/python
#!/usr/bin/env python
"""Some simple tests for practracker metrics"""
......
#!/usr/bin/python
#!/usr/bin/env python
# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division
......
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright (c) 2008-2019, The Tor Project, Inc.
# See LICENSE for licensing information.
......
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2014-2019, The Tor Project, Inc.
# See LICENSE for licensing information
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment