diff --git a/thefuck/corrector.py b/thefuck/corrector.py index 222a1359..f8c0cd44 100644 --- a/thefuck/corrector.py +++ b/thefuck/corrector.py @@ -74,8 +74,7 @@ def organize_commands(corrected_commands): logs.debug('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):