minor changes to ensure streaming.py doesn't throw an IndentationError

This commit is contained in:
Jonathan Elsas 2011-05-11 14:25:07 -04:00
parent a3159bd6a7
commit e262e80b23

View file

@ -44,7 +44,7 @@ class TwythonStreamingError(Exception):
self.msg = msg self.msg = msg
def __str__(self): def __str__(self):
return "%s" % str(self.msg) return str(self.msg)
feeds = { feeds = {
"firehose": "http://stream.twitter.com/firehose.json", "firehose": "http://stream.twitter.com/firehose.json",
@ -58,3 +58,4 @@ feeds = {
class Stream(object): class Stream(object):
def __init__(self, username = None, password = None, feed = "spritzer", user_agent = "Twython Streaming"): def __init__(self, username = None, password = None, feed = "spritzer", user_agent = "Twython Streaming"):
pass