checkIncludes.py (633B)
1 #!/usr/bin/env python 2 # Copyright 2018 The Tor Project, Inc. See LICENSE file for licensing info. 3 4 # This file is no longer here; see practracker/includes.py for this 5 # functionality. This is a stub file that exists so that older git 6 # hooks will know where to look. 7 8 # Future imports for Python 2.7, mandatory in 3.0 9 from __future__ import division 10 from __future__ import print_function 11 from __future__ import unicode_literals 12 13 import sys, os 14 15 dirname = os.path.split(sys.argv[0])[0] 16 new_location = os.path.join(dirname, "practracker", "includes.py") 17 python = sys.executable 18 19 os.execl(python, python, new_location, *sys.argv[1:])