]> projects.mako.cc - twitter-api-cdsw-solutions/blobdiff - tweepy/streaming.py
remove readme from the non-solutions
[twitter-api-cdsw-solutions] / tweepy / streaming.py
index faf42eacfa3724e73d2c1cbead877e53dba00deb..9b246bda820c5f2e5b31abcd3bf8b6570a7b2f93 100644 (file)
@@ -268,10 +268,10 @@ class Stream(object):
                 sleep(self.snooze_time)
                 self.snooze_time = min(self.snooze_time + self.snooze_time_step,
                                        self.snooze_time_cap)
-            except Exception as exc:
-                exception = exc
-                # any other exception is fatal, so kill loop
-                break
+            except Exception as exc:
+                exception = exc
+                # any other exception is fatal, so kill loop
+                break
 
         # cleanup
         self.running = False

Benjamin Mako Hill || Want to submit a patch?