# # # patch "mtn.py" # from [fed92195c9a8d1bcb0d4e0a94ad635abf9aea7bf] # to [d61ec145f354300fa297052ea4638b2c4a52b307] # ============================================================ --- mtn.py fed92195c9a8d1bcb0d4e0a94ad635abf9aea7bf +++ mtn.py d61ec145f354300fa297052ea4638b2c4a52b307 @@ -283,7 +283,9 @@ def basic_io_from_stream(gen): new_token, consumer, line = consumer(line) if new_token != None: current_stanza.append(new_token) - + if current_stanza: + yield current_stanza + class Operations: def __init__(self, runner_args): self.standalone = apply(Standalone, runner_args)