Skip to content

Commit

Permalink
flake8, export proper symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
meejah committed Feb 1, 2017
1 parent 1ed4dfc commit 1879bee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion txtorcon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@
)

__all__ = [
"connect", "launch", # connect, launch return instance of Tor()...
"Tor", # ...which is the preferred high-level API
"Router",
"Circuit",
"Stream",
"connect",
"TorControlProtocol", "TorProtocolError", "TorProtocolFactory",
"TorState", "DEFAULT_VALUE",
"TorInfo",
Expand Down
7 changes: 2 additions & 5 deletions txtorcon/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,15 @@
from __future__ import unicode_literals
from __future__ import with_statement

import six
import time
from datetime import datetime

from twisted.python.failure import Failure
from twisted.python import log
from twisted.internet import defer
from twisted.internet.interfaces import IStreamClientEndpoint
from zope.interface import implementer

from .interface import IRouterContainer, IStreamAttacher
from txtorcon.util import find_keywords, maybe_ip_addr
from .interface import IRouterContainer
from txtorcon.util import find_keywords


# look like "2014-01-25T02:12:14.593772"
Expand Down
2 changes: 1 addition & 1 deletion txtorcon/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ def outReceived(self, data):
# this Deferred into the notifications -- BUT we might try again, so
# we need to know "have we given up -- had an error" and only in that
# case send to the connected things. I think?
## d.addCallback(self._maybe_notify_connected)
# d.addCallback(self._maybe_notify_connected)

def _timeout_expired(self):
"""
Expand Down

0 comments on commit 1879bee

Please sign in to comment.