diff --git a/thefuck/corrector.py b/thefuck/corrector.py index fdd46983..32210c3f 100644 --- a/thefuck/corrector.py +++ b/thefuck/corrector.py @@ -74,8 +74,7 @@ def organize_commands(corrected_commands): logs.debug(u'Corrected commands: {}'.format( ', '.join(u'{}'.format(cmd) for cmd in [first_command] + sorted_commands))) - for command in sorted_commands: - yield command + yield from sorted_commands def get_corrected_commands(command):