summaryrefslogtreecommitdiff
path: root/rplugin/python3
diff options
context:
space:
mode:
authorStanley Decker <github.account@do-ob.org>2017-02-18 02:39:07 +0300
committerStanley Decker <github.account@do-ob.org>2017-02-18 02:39:07 +0300
commitcaaf221e4558a40980ff44ebc5c7bcc24989e434 (patch)
tree8ea3a1b815a2b53210cdde91440b3981cdb51a84 /rplugin/python3
parent56f7c1d493979f2b1e6c01c2ba31fdb13f4f837b (diff)
downloaddeoplete.nvim-caaf221e4558a40980ff44ebc5c7bcc24989e434.zip
Proper getting the prerelease property of neovim version
Diffstat (limited to 'rplugin/python3')
-rw-r--r--rplugin/python3/deoplete/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/__init__.py b/rplugin/python3/deoplete/__init__.py
index 1e03574..4644b52 100644
--- a/rplugin/python3/deoplete/__init__.py
+++ b/rplugin/python3/deoplete/__init__.py
@@ -36,7 +36,7 @@ class DeopleteHandlers(object):
major=neovim.VERSION.major,
minor=neovim.VERSION.minor,
patch=neovim.VERSION.patch,
- prerelease=neovim.VERSION.__dict__.get('prerelease', '')
+ prerelease=getattr(neovim.VERSION, 'prerelease', '')
)]
else:
version = []