forked from VimPlug/jedi
Fix Python 2.5 failure
This commit is contained in:
@@ -27,7 +27,7 @@ def follow_param(param):
|
|||||||
# Try to import module part in dotted name.
|
# Try to import module part in dotted name.
|
||||||
# (e.g., 'threading' in 'threading.Thread').
|
# (e.g., 'threading' in 'threading.Thread').
|
||||||
if '.' in param_str:
|
if '.' in param_str:
|
||||||
param_str = 'import {0}\n{1}'.format(
|
param_str = 'import %s\n%s' % (
|
||||||
param_str.rsplit('.', 1)[0],
|
param_str.rsplit('.', 1)[0],
|
||||||
param_str)
|
param_str)
|
||||||
user_position = (2, 0)
|
user_position = (2, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user