Commits

matt chisholm committed 81d391c

removing if not line check that was obsoleted by 231434784887c83e324b048a5f8d029ecaa49efe

Comments (0)

Files changed (1)

python/pottymouth.py

                     break
             else:
                 line = self.parse_line(tokens)
-                if not line:
-                    break
-                elif self.calculate_line_length(line) < short_line_length:
+                if self.calculate_line_length(line) < short_line_length:
                     shorts.append(line)
                 else:
                     p.extend(parse_shorts(shorts, line))