[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [fallback-scripts/master] script: sort system imports in alphabetical order
commit 1fc7385f8046c03acc6b1bf2653ae96a78abcd13
Author: teor <teor@xxxxxxxxxxxxxx>
Date: Thu Jun 27 13:22:31 2019 +1000
script: sort system imports in alphabetical order
And remove a duplicate "import re".
Part of 29100.
---
updateFallbackDirs.py | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/updateFallbackDirs.py b/updateFallbackDirs.py
index 049eeb9..d492da5 100755
--- a/updateFallbackDirs.py
+++ b/updateFallbackDirs.py
@@ -33,21 +33,20 @@
# https://trac.torproject.org/projects/tor/attachment/ticket/8374/dir_list.2.py
# Modifications by teor, 2015
-import StringIO
-import string
-import re
+import copy
import datetime
+import dateutil.parser
import gzip
-import os.path
+import hashlib
import json
import math
+import os.path
+import re
+import string
+import StringIO
import sys
import urllib
import urllib2
-import hashlib
-import dateutil.parser
-import copy
-import re
from stem.descriptor import DocumentHandler
from stem.descriptor.remote import get_consensus, get_server_descriptors, MAX_FINGERPRINTS
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits