File: checkIncludes.py

package info (click to toggle)
tor 0.4.8.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 55,764 kB
  • sloc: ansic: 315,652; sh: 7,415; python: 1,829; makefile: 620; perl: 249; pascal: 141
file content (19 lines) | stat: -rwxr-xr-x 633 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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
# functionality.  This is a stub file that exists so that older git
# hooks will know where to look.

# Future imports for Python 2.7, mandatory in 3.0
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

import sys, os

dirname = os.path.split(sys.argv[0])[0]
new_location = os.path.join(dirname, "practracker", "includes.py")
python = sys.executable

os.execl(python, python, new_location, *sys.argv[1:])