fix flake8

This commit is contained in:
chris meyers
2020-02-21 15:36:27 -05:00
committed by Ryan Petrello
parent e25bd931a1
commit 093d204d19
12 changed files with 22 additions and 54 deletions

View File

@@ -1,10 +1,8 @@
import time
import threading
import logging
import atexit
import json
import ssl
from datetime import datetime
from six.moves.queue import Queue, Empty
from six.moves.urllib.parse import urlparse
@@ -187,7 +185,6 @@ class WSClient(object):
self._send(json.dumps(payload))
def unsubscribe(self, wait=True, timeout=10):
time_start = datetime.now()
if wait:
# Other unnsubscribe events could have caused the edge to trigger.
# This way the _next_ event will trigger our waiting.