mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
python3: Correctly use relative imports
This commit is contained in:
parent
9e3382946d
commit
d60851f27d
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ class VwtaskStore(LineNumberedKeyedStoreMixin, NoNoneStore):
|
|||
self[index]['line_number'] = index
|
||||
|
||||
def get_method(self, line):
|
||||
import vwtask
|
||||
from taskwiki import vwtask
|
||||
return vwtask.VimwikiTask.from_line(self.cache, line)
|
||||
|
||||
|
||||
|
|
|
@ -5,12 +5,12 @@ from distutils.version import LooseVersion
|
|||
import contextlib
|
||||
import pkg_resources
|
||||
import os
|
||||
import regexp
|
||||
import random
|
||||
import sys
|
||||
import vim # pylint: disable=F0401
|
||||
|
||||
from taskwiki.errors import TaskWikiException
|
||||
from taskwiki import regexp
|
||||
|
||||
# Detect if command AnsiEsc is available
|
||||
ANSI_ESC_AVAILABLE = vim.eval('exists(":AnsiEsc")') == '2'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue