[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [chutney/master] tests: Stop requiring python2 for module tests



commit 191e280f636a724d5c80b0ff74e571711b8e94fb
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Mon Apr 8 10:06:12 2019 +1000

    tests: Stop requiring python2 for module tests
    
    And make the modules executable, so we can run them in unit tests.
    
    Part of 30063.
---
 lib/chutney/Debug.py      | 2 +-
 lib/chutney/Templating.py | 2 +-
 lib/chutney/TorNet.py     | 2 +-
 lib/chutney/Traffic.py    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/chutney/Debug.py b/lib/chutney/Debug.py
old mode 100644
new mode 100755
index 556ac5c..108735f
--- a/lib/chutney/Debug.py
+++ b/lib/chutney/Debug.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
 #
 # Copyright 2011 Nick Mathewson, Michael Stone
 # Copyright 2013 The Tor Project
diff --git a/lib/chutney/Templating.py b/lib/chutney/Templating.py
old mode 100644
new mode 100755
index de3de90..1e97cbe
--- a/lib/chutney/Templating.py
+++ b/lib/chutney/Templating.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
 #
 # Copyright 2011 Nick Mathewson, Michael Stone
 #
diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py
index b0061b6..16f4345 100644
--- a/lib/chutney/TorNet.py
+++ b/lib/chutney/TorNet.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
 #
 # Copyright 2011 Nick Mathewson, Michael Stone
 # Copyright 2013 The Tor Project
diff --git a/lib/chutney/Traffic.py b/lib/chutney/Traffic.py
old mode 100644
new mode 100755
index 766766a..7577d0f
--- a/lib/chutney/Traffic.py
+++ b/lib/chutney/Traffic.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
 #
 # Copyright 2013 The Tor Project
 #



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits