From f9ecbac687cd1212b1784a40c9acfab5070031eb Mon Sep 17 00:00:00 2001 From: Josh Roesslein Date: Sat, 9 Oct 2010 23:03:19 -0500 Subject: [PATCH] Remove un-needed import and tiddy up some comments. --- tweepy/streaming.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 6b98ce4..d757f20 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -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 -- 2.25.1