[tor-commits] [chutney/master] Group global imports at the top

nickm at torproject.org nickm at torproject.org
Tue Dec 23 19:52:38 UTC 2014


commit cf21c6d17bf47d765f271cb0746deaedecaab8eb
Author: Daniel Martí <mvdan at 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."""





More information about the tor-commits mailing list