[chutney/master] Group global imports at the top

commit cf21c6d17bf47d765f271cb0746deaedecaab8eb Author: Daniel Martí <mvdan@mvdan.cc> Date: Mon Aug 25 08:56:58 2014 +0200 Group global imports at the top --- lib/chutney/Traffic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/chutney/Traffic.py b/lib/chutney/Traffic.py index 67aff74..55e75f2 100644 --- a/lib/chutney/Traffic.py +++ b/lib/chutney/Traffic.py @@ -20,6 +20,7 @@ # # For example code, see main() below. +import sys import socket import select import struct @@ -325,8 +326,6 @@ class TrafficTester(): s.close() return self.tests.all_done() and self.tests.failure_count() == 0 -import sys - def main(): """Test the TrafficTester by sending and receiving some data."""
participants (1)
-
nickm@torproject.org