mirror of
https://github.com/gryf/pythonhelper.git
synced 2025-12-18 12:00:27 +01:00
Fixed bug regarding deleting not existed tags cache.
This commit is contained in:
@@ -197,7 +197,11 @@ class PythonHelper(object):
|
||||
@classmethod
|
||||
def delete_tags(cls, buffer_number):
|
||||
"""Removes tag data for the specified buffer number."""
|
||||
del PythonHelper.TAGS[buffer_number]
|
||||
try:
|
||||
del PythonHelper.TAGS[buffer_number]
|
||||
except KeyError:
|
||||
# If we don't have tags for specified buffer, just pass
|
||||
pass
|
||||
|
||||
|
||||
def update_vim_vars(tag):
|
||||
|
||||
Reference in New Issue
Block a user