From bbf6aa390aff77ff9fb7a7c1fd2bc19a09fcb2e7 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Mon, 29 Dec 2014 10:44:17 +0100 Subject: [PATCH] main: Rename load_update_incomplete_tasks to update_from_tw --- autoload/vimwiki_pytasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vimwiki_pytasks.py b/autoload/vimwiki_pytasks.py index 009ecf7..58eea90 100644 --- a/autoload/vimwiki_pytasks.py +++ b/autoload/vimwiki_pytasks.py @@ -176,7 +176,7 @@ class VimwikiTask(object): return task -def load_update_incomplete_tasks(): +def update_from_tw(): """ Updates all the incomplete tasks in the vimwiki file if the info from TW is different. """ @@ -195,5 +195,5 @@ def load_update_incomplete_tasks(): vim.command('echom "lines: %d"' % number_of_lines) if __name__ == '__main__': - load_update_incomplete_tasks() + update_from_tw()