Browse Source

Be more explicit about using python2

Also, normalize the use of env
Daniel Martí 9 years ago
parent
commit
cb01a3eea0
5 changed files with 4 additions and 5 deletions
  1. 1 1
      chutney
  2. 1 1
      lib/chutney/Templating.py
  3. 1 1
      lib/chutney/TorNet.py
  4. 1 1
      lib/chutney/Traffic.py
  5. 0 1
      lib/chutney/__init__.py

+ 1 - 1
chutney

@@ -1,4 +1,4 @@
 #!/bin/sh
 
 export PYTHONPATH="`dirname $0`/lib:${PYTHONPATH}"
-${PYTHON:=python} -m chutney.TorNet $*
+${PYTHON:=python2} -m chutney.TorNet $*

+ 1 - 1
lib/chutney/Templating.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 #
 # Copyright 2011 Nick Mathewson, Michael Stone
 #

+ 1 - 1
lib/chutney/TorNet.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 #
 # Copyright 2011 Nick Mathewson, Michael Stone
 # Copyright 2013 The Tor Project

+ 1 - 1
lib/chutney/Traffic.py

@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright 2013 The Tor Project
 #

+ 0 - 1
lib/chutney/__init__.py

@@ -1,2 +1 @@
 
-