Commit f9ecbac6 authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Remove un-needed import and tiddy up some comments.

parent 97aaa8cd
......@@ -8,7 +8,6 @@ from threading import Thread
from time import sleep
import urllib
from tweepy.auth import BasicAuthHandler
from tweepy.models import Status
from tweepy.api import API
from tweepy.error import TweepError
......@@ -87,11 +86,11 @@ class Stream(object):
self.body = None
def _run(self):
# setup
# Authenticate
url = "%s://%s%s" % (self.scheme, self.host, self.url)
self.auth.apply_auth(url, 'GET', self.headers, None)
# enter loop
# Connect and process the stream
error_counter = 0
conn = None
exception = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment