vwtask: Supress protected member warnings

This commit is contained in:
Tomas Babej 2015-03-21 07:53:38 +01:00
parent 9ee55f1395
commit e71587ee26

View file

@ -48,6 +48,8 @@ class VimwikiTask(object):
Creates a Vimwiki object from given line in the buffer.
- If line does not contain a Vimwiki task, returns None.
"""
# Protected access is ok here
# pylint: disable=W0212
match = re.search(regexp.GENERIC_TASK, vim.current.buffer[number])