THRIFT-3596 Better conformance to PEP8
This closes #832
diff --git a/lib/py/src/TTornado.py b/lib/py/src/TTornado.py
index e3b4df7..e01a49f 100644
--- a/lib/py/src/TTornado.py
+++ b/lib/py/src/TTornado.py
@@ -18,10 +18,9 @@
#
from __future__ import absolute_import
+import logging
import socket
import struct
-import logging
-logger = logging.getLogger(__name__)
from .transport.TTransport import TTransportException, TTransportBase, TMemoryBuffer
@@ -32,6 +31,8 @@
__all__ = ['TTornadoServer', 'TTornadoStreamTransport']
+logger = logging.getLogger(__name__)
+
class _Lock(object):
def __init__(self):