More style fixes
This commit is contained in:
parent
a63b2b6dd1
commit
9845d81fb0
@ -32,7 +32,7 @@ from os.path import join, abspath, dirname
|
|||||||
sys.path.insert( 0, join( abspath( dirname( __file__ ) ), 'jedi' ) )
|
sys.path.insert( 0, join( abspath( dirname( __file__ ) ), 'jedi' ) )
|
||||||
try:
|
try:
|
||||||
from jedi import Script
|
from jedi import Script
|
||||||
except ImportError, e:
|
except ImportError:
|
||||||
vimsupport.PostVimMessage(
|
vimsupport.PostVimMessage(
|
||||||
'Error importing jedi. Make sure the jedi submodule has been checked out. '
|
'Error importing jedi. Make sure the jedi submodule has been checked out. '
|
||||||
'In the YouCompleteMe folder, run "git submodule update --init --recursive"')
|
'In the YouCompleteMe folder, run "git submodule update --init --recursive"')
|
||||||
|
@ -26,7 +26,7 @@ import ycm_utils as utils
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
import ycm_core
|
import ycm_core
|
||||||
except ImportError, e:
|
except ImportError as e:
|
||||||
vimsupport.PostVimMessage(
|
vimsupport.PostVimMessage(
|
||||||
'Error importing ycm_core. Are you sure you have placed a version 3.2+ '
|
'Error importing ycm_core. Are you sure you have placed a version 3.2+ '
|
||||||
'libclang.[so|dll|dylib] in folder "{0}"? See the Installation Guide in '
|
'libclang.[so|dll|dylib] in folder "{0}"? See the Installation Guide in '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user