From 2ec80a923ea6353f682fdf30275463fc872491c1 Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 28 Jul 2012 09:17:29 +0200 Subject: [PATCH] removed catching MultiLevelAtrributeError at certain places, because catching exceptions does that now, too. --- jedi.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jedi.vim b/jedi.vim index 5979591..05a8286 100644 --- a/jedi.vim +++ b/jedi.vim @@ -56,7 +56,7 @@ if 1: out.append(d) strout = str(out) - except (Exception, evaluate.MultiLevelAttributeError): + except Exception: # print to stdout, will be in :messages print(traceback.format_exc()) strout = '' @@ -82,7 +82,7 @@ if 1: definitions = functions.get_definitions(source, row, column, buf_path) except functions.NotFoundError: msg = 'There is no useful expression under the cursor' - except (Exception, evaluate.MultiLevelAttributeError): + except Exception: # print to stdout, will be in :messages print(traceback.format_exc()) msg = "Some different eror, this shouldn't happen" @@ -115,7 +115,6 @@ import traceback # for exception output import re import functions -import evaluate PYTHONEOF " vim: set et ts=4: