Merge pull request #109 from marshall-lee/master

fixed KeyboardInterrupt bug when listing snippets (bug 1245168).
This commit is contained in:
Holger Rapp 2013-10-29 22:21:06 -07:00
commit fe0787be47

View File

@ -873,6 +873,8 @@ class SnippetManager(object):
# Likely "invalid expression", but might be translated. We have no way
# of knowing the exact error, therefore, we ignore all errors silently.
return None
except KeyboardInterrupt:
return None
def _do_snippet(self, snippet, before, after):
""" Expands the given snippet, and handles everything