mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
Task.warrior references replaced by Task.backend
This commit is contained in:
parent
2d7624e491
commit
c0dd9d0621
2 changed files with 3 additions and 3 deletions
|
@ -211,7 +211,7 @@ class ViewPort(object):
|
|||
# representations of the same task
|
||||
matching_vimwikitasks= [
|
||||
t for t in self.tasks
|
||||
if t.uuid == vwtask.ShortUUID(task['uuid'], task.warrior)
|
||||
if t.uuid == vwtask.ShortUUID(task['uuid'], task.backend)
|
||||
]
|
||||
|
||||
# Remove the tasks from viewport's set and from buffer
|
||||
|
|
|
@ -202,7 +202,7 @@ class VimwikiTask(object):
|
|||
|
||||
@classmethod
|
||||
def from_task(cls, cache, task):
|
||||
self = cls(cache, task['uuid'], task.warrior)
|
||||
self = cls(cache, task['uuid'], task.backend)
|
||||
self.update_from_task()
|
||||
|
||||
return self
|
||||
|
@ -341,7 +341,7 @@ class VimwikiTask(object):
|
|||
if port:
|
||||
# The task should have the same source as the viewport has
|
||||
self.tw = port.tw
|
||||
self.task.warrior = port.tw
|
||||
self.task.backend = port.tw
|
||||
|
||||
# Any defaults specified should be inherited
|
||||
if port.defaults:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue