checkIncludes.py 633 B

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