taskwiki: Rename update tasks to load tasks to better reflect the nature

This commit is contained in:
Tomas Babej 2015-03-21 20:36:16 +01:00
parent 7e146b438b
commit 3bade5b00a
2 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,7 @@ class TaskCache(object):
for task in self.vimwikitask_dependency_order:
task.save_to_tw()
def update_tasks(self):
def load_tasks(self):
# Select all tasks in the files that have UUIDs
uuids = [t['uuid'] for t in self.vimwikitask_cache.values()
if t is not None and t['uuid'] is not None]

View file

@ -32,7 +32,7 @@ class WholeBuffer(object):
"""
cache.load_buffer()
cache.update_tasks()
cache.load_tasks()
cache.update_buffer()
cache.evaluate_viewports()
@ -44,7 +44,7 @@ class WholeBuffer(object):
cache.reset()
cache.load_buffer()
cache.update_tasks()
cache.load_tasks()
cache.save_tasks()
cache.update_buffer()
cache.evaluate_viewports()