From: Josh Roesslein Date: Sun, 10 Oct 2010 04:03:19 +0000 (-0500) Subject: Remove un-needed import and tiddy up some comments. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f9ecbac687cd1212b1784a40c9acfab5070031eb;p=tweepy.git Remove un-needed import and tiddy up some comments. --- 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