aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint/checkIncludes.py
blob: ae0ccb9e12bfcad53001d2cf314d72f0e44d25c1 (plain)
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:])