[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Adjust import ordering
commit 4c9e78ae50016af9668cf5b2f33045aa359ba69a
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sat Jun 23 16:37:07 2018 -0700
Adjust import ordering
Minor thing, but throughout our codebase we usually import in alphabetical
order with the following groupings...
* builtins
* stem imports
* 'from' imports
* try/catch imports
Guess this is from PEP8? It's been so long I don't remember any more. :P
---
stem/descriptor/remote.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stem/descriptor/remote.py b/stem/descriptor/remote.py
index 94220a9c..e7baee65 100644
--- a/stem/descriptor/remote.py
+++ b/stem/descriptor/remote.py
@@ -100,12 +100,12 @@ import zlib
import stem
import stem.client
-from stem.client.datatype import RelayCommand
import stem.descriptor
import stem.directory
import stem.prereq
import stem.util.enum
+from stem.client.datatype import RelayCommand
from stem.util import log, str_tools
try:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits