• Jacek Sowiński's avatar
    Save `edit` result only when tempfile was modified · f1770b95
    Jacek Sowiński authored
    mtimes of tempfile prior to editing and after leaving the editor are now
    compared before changing anything in todolist. If tempfile wasn't
    modified, todolist (and todo file) is left untouched and user gets
    appropriate error message.
    f1770b95
TestEditCommand.py 8.99 KB