mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-01 07:53:59 +08:00
An or is not needed
This comparison is useless, because the case where the module_path is None is already looked at in a previous if
This commit is contained in:
1 parent
79ced22a37
commit
37bd03c3d5
1 file changed
+1
-1
+1
-1
@@ -299,7 +299,7 @@ def goto(mode="goto", no_output=False):
|
||||
# well.
|
||||
lst.append(dict(text=PythonToVimStr(d.description)))
|
||||
else:
|
||||
lst.append(dict(filename=PythonToVimStr(d.module_path or ''),
|
||||
lst.append(dict(filename=PythonToVimStr(d.module_path),
|
||||
lnum=d.line, col=d.column + 1,
|
||||
text=PythonToVimStr(d.description)))
|
||||
vim_eval('setqflist(%s)' % repr(lst))
|
||||
|
||||
Reference in new issue
Block a user