1
0
forked from VimPlug/jedi

Fix Python 2.5 failure

This commit is contained in:
Takafumi Arakaki
2013-01-30 17:05:43 +01:00
parent 81f59f9a6e
commit 691177c20c

View File

@@ -27,7 +27,7 @@ def follow_param(param):
# Try to import module part in dotted name.
# (e.g., 'threading' in 'threading.Thread').
if '.' in param_str:
param_str = 'import {0}\n{1}'.format(
param_str = 'import %s\n%s' % (
param_str.rsplit('.', 1)[0],
param_str)
user_position = (2, 0)