From e262e80b23537e8addf2a72463d021dfe4196bd9 Mon Sep 17 00:00:00 2001 From: Jonathan Elsas Date: Wed, 11 May 2011 14:25:07 -0400 Subject: [PATCH] minor changes to ensure streaming.py doesn't throw an IndentationError --- twython/streaming.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/twython/streaming.py b/twython/streaming.py index 8020116..d145bf3 100644 --- a/twython/streaming.py +++ b/twython/streaming.py @@ -42,9 +42,9 @@ except ImportError: class TwythonStreamingError(Exception): def __init__(self, msg): self.msg = msg - + def __str__(self): - return "%s" % str(self.msg) + return str(self.msg) feeds = { "firehose": "http://stream.twitter.com/firehose.json", @@ -58,3 +58,4 @@ feeds = { class Stream(object): def __init__(self, username = None, password = None, feed = "spritzer", user_agent = "Twython Streaming"): + pass