• Bram Schoenmakers's avatar
    Fix infinite loop with keep_sorted = 1. · 9e7ebb54
    Bram Schoenmakers authored
    When a subcommand finishes, _post_excecute() is called for sorting,
    archiving and writing the file. But sorting is also a subcommand, which
    in turn also calls _post_execute(), etc, etc.
    
    So let the caller of _execute() decide when to call _post_execute.
    
    This fixes issue #46.
    9e7ebb54
CLI.py 2.07 KB