Improve inline comment formatting in Stream._read_loop
authorHarmon <Harmon758@gmail.com>
Tue, 29 Dec 2020 07:30:29 +0000 (01:30 -0600)
committerHarmon <Harmon758@gmail.com>
Tue, 29 Dec 2020 07:30:29 +0000 (01:30 -0600)
tweepy/streaming.py

index 1b0fdacf0a87c4a818b8a9764caac48688bee01e..0651c1f26347e0754b0e2b204b5f2c38754b8e94 100644 (file)
@@ -315,7 +315,7 @@ class Stream:
             length = 0
             while not resp.raw.closed:
                 line = buf.read_line()
-                stripped_line = line.strip() if line else line # line is sometimes None so we need to check here
+                stripped_line = line.strip() if line else line  # line is sometimes None so we need to check here
                 if not stripped_line:
                     self.listener.keep_alive()  # keep-alive new lines are expected
                 elif stripped_line.isdigit():